Commit 9d8fa925 by Edward Thomson

ci: optional BUILD_WORKSPACE

Setup scripts can change BUILD_WORKSPACE, for instance, if they use a
different format for paths, they can replace with `cygpath` variants.
parent a79ef29e
...@@ -238,14 +238,14 @@ jobs: ...@@ -238,14 +238,14 @@ jobs:
- name: Build - name: Build
uses: ./source/.github/actions/run-build uses: ./source/.github/actions/run-build
with: with:
command: cd build && ../source/ci/build.sh command: cd ${BUILD_WORKSPACE:-.}/build && ../source/ci/build.sh
container: ${{ matrix.platform.container.name }} container: ${{ matrix.platform.container.name }}
container-version: ${{ env.docker-registry-container-sha }} container-version: ${{ env.docker-registry-container-sha }}
shell: ${{ matrix.platform.shell }} shell: ${{ matrix.platform.shell }}
- name: Test - name: Test
uses: ./source/.github/actions/run-build uses: ./source/.github/actions/run-build
with: with:
command: cd build && ../source/ci/test.sh command: cd ${BUILD_WORKSPACE:-.}/build && ../source/ci/test.sh
container: ${{ matrix.platform.container.name }} container: ${{ matrix.platform.container.name }}
container-version: ${{ env.docker-registry-container-sha }} container-version: ${{ env.docker-registry-container-sha }}
shell: ${{ matrix.platform.shell }} shell: ${{ matrix.platform.shell }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment