diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0f388d..b6a750a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,8 +18,11 @@ jobs: with: submodules: true + - name: Setup ccache + uses: hendrikmuhs/ccache-action@v1.2 + - name: Build - run: make -j8 + run: make -j8 PREFIX="ccache aarch64-none-elf-" - name: Install libnx master & Retry build if: ${{ failure() }} @@ -27,10 +30,10 @@ jobs: pushd /tmp git clone https://github.com/switchbrew/libnx cd libnx - make -j8 + make -j8 PREFIX="ccache aarch64-none-elf-" make install popd - make -j8 + make -j8 PREFIX="ccache aarch64-none-elf-" - name: Upload built files uses: actions/upload-artifact@v3 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e42da3c..3f79ada 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -19,6 +19,9 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + + - name: Setup ccache + uses: hendrikmuhs/ccache-action@v1.2 - name: update Atmosphere-libs run: | @@ -28,7 +31,7 @@ jobs: popd - name: Build - run: make -j8 + run: make -j8 PREFIX="ccache aarch64-none-elf-" - name: Install libnx master & Retry build if: ${{ failure() }} @@ -36,10 +39,10 @@ jobs: pushd /tmp git clone https://github.com/switchbrew/libnx cd libnx - make -j8 + make -j8 PREFIX="ccache aarch64-none-elf-" make install popd - make -j8 + make -j8 PREFIX="ccache aarch64-none-elf-" - name: Upload built files uses: actions/upload-artifact@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e82ba88..79de037 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,9 +23,12 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + + - name: Setup ccache + uses: hendrikmuhs/ccache-action@v1.2 - name: Build - run: make -j8 + run: make -j8 PREFIX="ccache aarch64-none-elf-" - name: Install libnx master & Retry build if: ${{ failure() }} @@ -33,10 +36,10 @@ jobs: pushd /tmp git clone https://github.com/switchbrew/libnx cd libnx - make -j8 + make -j8 PREFIX="ccache aarch64-none-elf-" make install popd - make -j8 + make -j8 PREFIX="ccache aarch64-none-elf-" - name: Pack run: |