aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 15:45:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 15:52:13 +0300
commit6e3ff5f7e837c0aa2affb23966ded375628e100f (patch)
tree05dca26357a17ec5595a718cafee3686db21b1df /.github
parentproject.cmake: fix "auto" platform detection (diff)
downloadcmake-common-6e3ff5f7e837c0aa2affb23966ded375628e100f.tar.gz
cmake-common-6e3ff5f7e837c0aa2affb23966ded375628e100f.zip
project.ci: change build directory
It's now <source directory>/../build for consistency.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci_appveyor.yml5
-rw-r--r--.github/workflows/ci_github.yml2
-rw-r--r--.github/workflows/ci_travis.yml2
3 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/ci_appveyor.yml b/.github/workflows/ci_appveyor.yml
index be48ba0..da12953 100644
--- a/.github/workflows/ci_appveyor.yml
+++ b/.github/workflows/ci_appveyor.yml
@@ -45,9 +45,6 @@ jobs:
with:
python-version: '3.x'
- - name: Create C:\projects
- run: mkdir C:\projects
-
- name: Cache Boost
uses: actions/cache@v2.1.4
with:
@@ -62,7 +59,7 @@ jobs:
- name: Run example project
run: |
- cd C:\projects\install\bin
+ cd "$env:APPVEYOR_BUILD_FOLDER/../build/install/bin"
$foo_path = Join-Path (Get-Location).Path foo.exe
$relative = 'test.txt'
diff --git a/.github/workflows/ci_github.yml b/.github/workflows/ci_github.yml
index 877e885..91b1c96 100644
--- a/.github/workflows/ci_github.yml
+++ b/.github/workflows/ci_github.yml
@@ -59,7 +59,7 @@ jobs:
- name: Run example project
run: |
- cd (Join-Path $env:GITHUB_WORKSPACE .. install bin)
+ cd "$env:GITHUB_WORKSPACE/../build/install/bin"
$foo_path = Join-Path (Get-Location).Path foo
if ('${{ runner.os }}' -eq 'Windows') {
$foo_path += '.exe'
diff --git a/.github/workflows/ci_travis.yml b/.github/workflows/ci_travis.yml
index 32123a6..c585f57 100644
--- a/.github/workflows/ci_travis.yml
+++ b/.github/workflows/ci_travis.yml
@@ -56,7 +56,7 @@ jobs:
- name: Run example project
run: |
- cd "$env:HOME/install/bin"
+ cd "$env:TRAVIS_BUILD_DIR/../build/install/bin"
$foo_path = Join-Path (Get-Location).Path foo
$relative = 'test.txt'