Skip to content

Version 2.2.1, fixed rendering bug, minor changes #86

Version 2.2.1, fixed rendering bug, minor changes

Version 2.2.1, fixed rendering bug, minor changes #86

Workflow file for this run

name: 'Switch'
on:
push:
branches:
- '*'
pull_request:
types: [ opened, synchronize ]
workflow_dispatch:
jobs:
Build:
strategy:
fail-fast: false
matrix:
include:
- BuildType: Release
runs-on: 'ubuntu-latest'
container:
image: devkitpro/devkita64:latest
options: --user root
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Configure CMake'
run: |
rm -f ./Content/Translations/*.po
git config --global --add safe.directory '*'
cmake -B ./_build/ -D CMAKE_BUILD_TYPE=${{ matrix.BuildType }} -D CMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/Switch.cmake -D NCINE_PREFERRED_BACKEND=SDL2 -D NCINE_WITH_GLEW=OFF
- name: 'Build'
run: |
make -j $(nproc) -C ./_build/
- name: 'Create Package'
run: |
mkdir ./_package/
cp -f ./_build/jazz2.nro ./_package/Jazz2.nro
cp -f ./LICENSE ./_package/LICENSE
- name: 'Upload Package'
uses: actions/upload-artifact@v3
with:
name: Jazz2_Switch
path: ./_package/