2020-09-23 22:39:16 +01:00
|
|
|
name: Build AIO-switch-updater
|
|
|
|
|
2021-02-20 12:58:04 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
2020-09-23 22:39:16 +01:00
|
|
|
jobs:
|
|
|
|
AIO-switch-updater:
|
|
|
|
runs-on: ubuntu-latest
|
2021-09-20 16:00:45 +01:00
|
|
|
#container: hamletdufromage/devkita64_devkitarm
|
2021-09-20 16:02:46 +01:00
|
|
|
container: devkitpro/devkita64
|
2020-09-23 22:39:16 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2021-02-20 12:58:04 +00:00
|
|
|
|
2021-02-20 13:02:50 +00:00
|
|
|
- name: update repo
|
2020-09-23 22:39:16 +01:00
|
|
|
run: |
|
2023-05-21 17:21:49 +01:00
|
|
|
git config --global --add safe.directory /__w/aio-switch-updater/aio-switch-updater/lib/borealis
|
|
|
|
git config --global --add safe.directory /__w/aio-switch-updater/aio-switch-updater
|
2023-11-15 18:57:19 +00:00
|
|
|
git config --global --add safe.directory /__w/aio-switch-updater/aio-switch-updater/TegraExplorer
|
2020-09-23 22:39:16 +01:00
|
|
|
git submodule update --init --recursive
|
2023-11-15 19:00:45 +00:00
|
|
|
|
|
|
|
- name: install dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt update -y
|
|
|
|
sudo apt install build-essential -y
|
|
|
|
|
2020-12-13 18:21:03 +00:00
|
|
|
- name: Building aio-switch-updater
|
2020-09-23 22:39:16 +01:00
|
|
|
run: |
|
2021-03-27 00:33:20 +00:00
|
|
|
make -C aiosu-forwarder -f Makefile
|
2020-09-23 22:39:16 +01:00
|
|
|
make -j$(nproc)
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
2020-12-13 18:21:03 +00:00
|
|
|
name: aio-switch-updater
|
2021-01-28 19:26:41 +00:00
|
|
|
path: aio-switch-updater.nro
|