diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci_appveyor.yml | 5 | ||||
-rw-r--r-- | .github/workflows/ci_travis.yml | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/ci_appveyor.yml b/.github/workflows/ci_appveyor.yml index 3033607..8427e43 100644 --- a/.github/workflows/ci_appveyor.yml +++ b/.github/workflows/ci_appveyor.yml @@ -57,11 +57,12 @@ jobs: - name: Build example project run: | - python -m project.ci.appveyor.cmake --install ..\install + python -m project.ci.appveyor.cmake --install - name: Run example project run: | - $foo_path = Join-Path (Split-Path (Get-Location).Path) install bin foo.exe + cd C:\projects\install\bin + $foo_path = Join-Path (Get-Location).Path foo.exe $relative = 'test.txt' $absolute = Join-Path (Get-Location).Path $relative diff --git a/.github/workflows/ci_travis.yml b/.github/workflows/ci_travis.yml index be2d1cb..060970d 100644 --- a/.github/workflows/ci_travis.yml +++ b/.github/workflows/ci_travis.yml @@ -51,11 +51,12 @@ jobs: - name: Build example project run: | - python -m project.ci.travis.cmake --install ../install + python -m project.ci.travis.cmake --install - name: Run example project run: | - $foo_path = Join-Path (Split-Path (Get-Location).Path) install bin foo + cd "$env:HOME/install/bin" + $foo_path = Join-Path (Get-Location).Path foo $relative = 'test.txt' $absolute = Join-Path (Get-Location).Path $relative |