2020-05-04 20:24:49 +01:00
|
|
|
name: TegraExplorer builder
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-05-04 20:32:05 +01:00
|
|
|
- uses: actions/checkout@v2
|
2020-05-04 20:24:49 +01:00
|
|
|
- name: Install devkitpro
|
|
|
|
run: |
|
|
|
|
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
|
|
|
|
sudo dpkg -i devkitpro-pacman.deb
|
2020-05-04 20:54:39 +01:00
|
|
|
sudo dkp-pacman -S switch-dev --noconfirm
|
|
|
|
sudo dkp-pacman -S devkitARM --noconfirm
|
2020-05-04 20:24:49 +01:00
|
|
|
|
|
|
|
- name: Build TegraExplorer
|
|
|
|
run: |
|
|
|
|
echo # SETTING PATH #
|
|
|
|
export DEVKITPRO=/opt/devkitpro
|
|
|
|
export DEVKITARM=${DEVKITPRO}/devkitARM
|
|
|
|
export DEVKITPPC=${DEVKITPRO}/devkitPPC
|
|
|
|
export PATH=${DEVKITPRO}/tools/bin:$PATH
|
|
|
|
echo # MAKE #
|
|
|
|
make -j$(nproc)
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: TegraExplorer
|
2020-05-04 20:35:29 +01:00
|
|
|
path: output/TegraExplorer.bin
|