Bump version to 0.2.6, add 21.0.0 support #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: devkitpro/devkita64:latest | |
| defaults: | |
| run: | |
| shell: 'bash' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Set git safe.directory for the working directory | |
| run : git config --system --add safe.directory "$PWD" | |
| - name: Setup ccache | |
| uses: hendrikmuhs/ccache-action@v1.2 | |
| - name: Build libnx | |
| run: | | |
| git clone https://github.com/switchbrew/libnx.git --branch master /tmp/libnx | |
| pushd /tmp/libnx | |
| make PREFIX="ccache aarch64-none-elf-" | |
| make install | |
| popd | |
| - name: Build | |
| run: make PREFIX="ccache aarch64-none-elf-" | |
| - name: Uploading executable out directory | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: network_mitm_raw_output.zip | |
| path: network_mitm/out/* | |
| if-no-files-found: error | |
| compression-level: 9 | |
| - name: Uploading release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: network_mitm.zip | |
| path: out/*.zip | |
| if-no-files-found: error | |
| compression-level: 0 |