Skip to content

Commit

Permalink
Fix dependencies between jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
RayyanAnsari committed Aug 31, 2022
1 parent cac1ec8 commit 80f76ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-macos-universal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 80f76ef

Please sign in to comment.