diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-18 14:39:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-18 14:46:35 +0300 |
commit | 00d21c8d6d202375761f332084e01661241376a9 (patch) | |
tree | 79c6cc2e03ecfbadee367362e7277af0444b3237 /.github | |
parent | README: update (diff) | |
download | cmake-common-00d21c8d6d202375761f332084e01661241376a9.tar.gz cmake-common-00d21c8d6d202375761f332084e01661241376a9.zip |
project.ci: --install picks the directory automatically
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 |