From cf908a2f65a8685027ff0dd40f9c8abfa03d6db2 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 14 Apr 2025 00:03:58 +0200 Subject: [PATCH] add -j argument to speed up compillation on the cloud -j tells make to not set a limit to the amount of jobs it can use parralel to one another. We just gotta make sure the makefile supports the paralelsation correctly, currently it should be. --- .github/workflows/release.yaml | 2 +- .github/workflows/validate.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1c0276e..6388738 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: OUT: ${{github.workspace}}/mcaselector-lite-${{matrix.arch}}-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip steps: - uses: actions/checkout@v4 - - run: make compile ARCH=${{matrix.arch}} + - run: make compile ARCH=${{matrix.arch}} -j - name: compress binary information run: | cd "${{github.workspace}}/bin/${{matrix.arch}}/rel/" diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index f8b5b74..9392060 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -19,5 +19,5 @@ jobs: - win-x86_64 steps: - uses: actions/checkout@v4 - - run: make compile ARCH=${{matrix.arch}} + - run: make compile ARCH=${{matrix.arch}} -j # TODO: add linting checking here