parent
889f5d1a62
commit
e8a5a136bb
@ -1,44 +0,0 @@ |
||||
name: CI |
||||
|
||||
on: |
||||
push: |
||||
branches: |
||||
- master |
||||
- dev |
||||
|
||||
jobs: |
||||
build: |
||||
|
||||
runs-on: ubuntu-latest |
||||
|
||||
steps: |
||||
- name: Update and Install Build Dependencies |
||||
run: | |
||||
sudo apt-get update |
||||
sudo apt-get install -y apt-utils |
||||
sudo apt-get install -y --no-install-recommends sudo ca-certificates pkg-config curl wget bzip2 xz-utils make git bsdtar doxygen gnupg |
||||
sudo apt-get clean |
||||
|
||||
- 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 |
||||
rm devkitpro-pacman.deb |
||||
sudo dkp-pacman -Scc --noconfirm |
||||
|
||||
- name: Install Switch Toolchain |
||||
run: | |
||||
sudo dkp-pacman -Syyu --noconfirm switch-dev |
||||
sudo dkp-pacman -S --needed --noconfirm switch-jansson switch-curl switch-mbedtls switch-libjpeg-turbo switch-libpng switch-libwebp switch-sdl2 switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-zlib |
||||
sudo dkp-pacman -Scc --noconfirm |
||||
|
||||
- name: Checkout Repo |
||||
uses: actions/checkout@v2 |
||||
|
||||
- name: Checkout Submodules |
||||
uses: textbook/git-checkout-submodule-action@2.0.0 |
||||
|
||||
- name: Build |
||||
env: |
||||
DEVKITPRO: /opt/devkitpro |
||||
run: make |
Loading…
Reference in new issue