Fix dependencies between jobs

This commit is contained in:
Rayyan Ansari 2022-08-31 17:56:18 +01:00
parent cac1ec8fbd
commit 80f76ef34d
1 changed files with 4 additions and 1 deletions

View File

@ -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: