submodule: bump libtesla from 0ad2838
to f766e9b
#154
This file contains 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: | |
image: devkitpro/devkita64:latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup ccache | |
uses: hendrikmuhs/[email protected] | |
- name: Build | |
id: build | |
run: make -j8 PREFIX="ccache aarch64-none-elf-" | |
continue-on-error: true | |
- name: Install libnx master & Retry build | |
id: retry | |
if: ${{ steps.build.outcome == 'failure' }} | |
run: | | |
pushd /tmp | |
git clone https://github.com/switchbrew/libnx | |
cd libnx | |
make -j8 PREFIX="ccache aarch64-none-elf-" | |
make install | |
popd | |
make -j8 PREFIX="ccache aarch64-none-elf-" | |
- name: Upload built files | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sdcard | |
path: out/sd | |
- name: Upload elf file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ldn_mitm.elf | |
path: ldn_mitm/ldn_mitm.elf | |
- name: Upload elf file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ldn_mitm.elf | |
path: overlay/overlay.elf |