Merge pull request #138 from mgerhold/color-picker #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nintendo Switch CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
switch-build: | |
runs-on: ubuntu-22.04 | |
container: | |
image: devkitpro/devkita64 ## base on debian:buster-slim | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: "0" | |
- name: Setup Meson | |
run: | | |
sudo apt-get update | |
sudo apt-get install python3 python3-pip -y | |
python3 -m pip install --upgrade pip | |
pip install meson | |
- name: Setup ninja | |
run: | | |
sudo apt-get update | |
sudo apt-get install ninja-build | |
- name: Configure and Build | |
run: | | |
bash ./platforms/build-switch.sh | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: oopetris.nro | |
path: build-switch/oopetris.nro |