Tweak CTRTool build script

This commit is contained in:
jakcron
2022-04-13 15:48:49 +08:00
parent e6450862a8
commit d3f07c161f
+1 -4
View File
@@ -20,22 +20,19 @@ jobs:
- dist: ubuntu_x86_64 - dist: ubuntu_x86_64
os: ubuntu-latest os: ubuntu-latest
arch: x86_64 arch: x86_64
makeArgs: # -j$(nproc) # This messes with the build
- dist: macos_x86_64 - dist: macos_x86_64
os: macos-latest os: macos-latest
arch: x86_64 arch: x86_64
makeArgs: -j$(sysctl -n hw.activecpu)
- dist: macos_arm64 - dist: macos_arm64
os: macos-latest os: macos-latest
arch: arm64 arch: arm64
makeArgs: -j$(sysctl -n hw.activecpu)
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Compile ${{ matrix.prog }} - name: Compile ${{ matrix.prog }}
working-directory: ${{ matrix.prog }} working-directory: ${{ matrix.prog }}
run: make ${{ matrix.makeArgs }} PROJECT_PLATFORM_ARCH=${{ matrix.arch }} deps all run: make PROJECT_PLATFORM_ARCH=${{ matrix.arch }} deps all
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: ${{ matrix.prog }}-${{ matrix.dist }} name: ${{ matrix.prog }}-${{ matrix.dist }}