Enter ./cpp first before CI tasks, take 2
This commit is contained in:
parent
67a7447924
commit
60d4cb8c87
6
.github/workflows/main.yaml
vendored
6
.github/workflows/main.yaml
vendored
@ -5,6 +5,9 @@ on: [push, pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
"test_compile_cpp":
|
"test_compile_cpp":
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./cpp
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
@ -15,9 +18,6 @@ jobs:
|
|||||||
path: compilers
|
path: compilers
|
||||||
key: ${{ runner.os }}-${{ hashFiles('./cpp/ci-prepare-bionic.sh') }}
|
key: ${{ runner.os }}-${{ hashFiles('./cpp/ci-prepare-bionic.sh') }}
|
||||||
|
|
||||||
- name: Prepare compilers
|
|
||||||
run: cd ./cpp
|
|
||||||
|
|
||||||
- name: Prepare compilers
|
- name: Prepare compilers
|
||||||
if: steps.prepare-compilers.outputs.cache-hit != 'true'
|
if: steps.prepare-compilers.outputs.cache-hit != 'true'
|
||||||
run: source ./ci-prepare-bionic.sh ./compilers SETUP true || true
|
run: source ./ci-prepare-bionic.sh ./compilers SETUP true || true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user