1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-09 12:01:44 +00:00
AIO-switch-updater/.github/workflows/main.yml
2023-11-15 20:00:45 +01:00

35 lines
1,015 B
YAML

name: Build AIO-switch-updater
on:
push:
workflow_dispatch:
jobs:
AIO-switch-updater:
runs-on: ubuntu-latest
#container: hamletdufromage/devkita64_devkitarm
container: devkitpro/devkita64
steps:
- uses: actions/checkout@v1
- name: update repo
run: |
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
git config --global --add safe.directory /__w/aio-switch-updater/aio-switch-updater/TegraExplorer
git submodule update --init --recursive
- name: install dependencies
run: |
sudo apt update -y
sudo apt install build-essential -y
- name: Building aio-switch-updater
run: |
make -C aiosu-forwarder -f Makefile
make -j$(nproc)
- uses: actions/upload-artifact@master
with:
name: aio-switch-updater
path: aio-switch-updater.nro