mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
Fix dependencies between jobs
This commit is contained in:
5
.github/workflows/build-macos-universal.yml
vendored
5
.github/workflows/build-macos-universal.yml
vendored
@ -14,12 +14,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clean workspace
|
- name: Clean workspace
|
||||||
run: shopt -s dotglob; rm -rf ${{runner.workspace}}/*
|
run: rm -rf ${{runner.workspace}}/build
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
||||||
build-arm64:
|
build-arm64:
|
||||||
|
needs: prepare
|
||||||
runs-on: [self-hosted, macOS, ARM64]
|
runs-on: [self-hosted, macOS, ARM64]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -35,6 +36,7 @@ jobs:
|
|||||||
run: arch -arm64 make -j$(sysctl -n hw.logicalcpu)
|
run: arch -arm64 make -j$(sysctl -n hw.logicalcpu)
|
||||||
|
|
||||||
build-x86_64:
|
build-x86_64:
|
||||||
|
needs: prepare
|
||||||
runs-on: [self-hosted, macOS, ARM64]
|
runs-on: [self-hosted, macOS, ARM64]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -50,6 +52,7 @@ jobs:
|
|||||||
run: arch -x86_64 make -j$(sysctl -n hw.logicalcpu)
|
run: arch -x86_64 make -j$(sysctl -n hw.logicalcpu)
|
||||||
|
|
||||||
universal-binary:
|
universal-binary:
|
||||||
|
needs: [build-arm64, build-x86_64]
|
||||||
runs-on: [self-hosted, macOS, ARM64]
|
runs-on: [self-hosted, macOS, ARM64]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user