Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
XorTroll committed Nov 23, 2019
2 parents a05db6d + 55100c8 commit 8815da2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

name: Build Goldleaf

on: [push]
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Update repo.
run: |
git submodule update --init --recursive
- 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
sudo dkp-pacman -S $(dkp-pacman -Ssq switch-*) --noconfirm
- name: Building Goldleaf
run: |
echo ##########################
echo # SETTING PATH #
echo ##########################
echo
export DEVKITPRO=/opt/devkitpro
export DEVKITARM=${DEVKITPRO}/devkitARM
export DEVKITPPC=${DEVKITPRO}/devkitPPC
export PATH=${DEVKITPRO}/tools/bin:$PATH
make -C Goldleaf/ -j$(nproc)
- uses: actions/upload-artifact@master
with:
name: Goldleaf
path: Goldleaf/Output/Goldleaf.nro

0 comments on commit 8815da2

Please sign in to comment.