Fix dependencies between jobs
This commit is contained in:
parent
cac1ec8fbd
commit
80f76ef34d
|
@ -14,12 +14,13 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Clean workspace
|
||||
run: shopt -s dotglob; rm -rf ${{runner.workspace}}/*
|
||||
run: rm -rf ${{runner.workspace}}/build
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
||||
build-arm64:
|
||||
needs: prepare
|
||||
runs-on: [self-hosted, macOS, ARM64]
|
||||
|
||||
steps:
|
||||
|
@ -35,6 +36,7 @@ jobs:
|
|||
run: arch -arm64 make -j$(sysctl -n hw.logicalcpu)
|
||||
|
||||
build-x86_64:
|
||||
needs: prepare
|
||||
runs-on: [self-hosted, macOS, ARM64]
|
||||
|
||||
steps:
|
||||
|
@ -50,6 +52,7 @@ jobs:
|
|||
run: arch -x86_64 make -j$(sysctl -n hw.logicalcpu)
|
||||
|
||||
universal-binary:
|
||||
needs: [build-arm64, build-x86_64]
|
||||
runs-on: [self-hosted, macOS, ARM64]
|
||||
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue