From 6e3ff5f7e837c0aa2affb23966ded375628e100f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 15:45:16 +0300 Subject: project.ci: change build directory It's now /../build for consistency. --- .github/workflows/ci_appveyor.yml | 5 +---- .github/workflows/ci_github.yml | 2 +- .github/workflows/ci_travis.yml | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to '.github/workflows') 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' -- cgit v1.2.3