playtest, fix confirmations, and move tutoring fixed #124
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - upcoming | |
| pull_request: | |
| jobs: | |
| build: | |
| if: github.actor != 'allcontributors[bot]' | |
| runs-on: ubuntu-latest | |
| env: | |
| GAME_VERSION: EMERALD | |
| GAME_REVISION: 0 | |
| GAME_LANGUAGE: ENGLISH | |
| COMPARE: 0 | |
| UNUSED_ERROR: 1 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Install binutils | |
| run: | | |
| sudo apt update | |
| sudo apt install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3 | |
| # build-essential and git are already installed | |
| - name: ROM | |
| env: | |
| COMPARE: 0 | |
| run: make -j${nproc} -O all | |
| - name: LTO | |
| run: | | |
| make tidy | |
| make -j${nproc} LTO=1 | |
| # make tidy to purge previous build | |
| - name: Test | |
| env: | |
| TEST: 1 | |
| run: | | |
| make -j${nproc} check | |
| allcontributors: | |
| if: github.actor == 'allcontributors[bot]' | |
| runs-on: ubuntu-latest | |
| needs: [] | |
| steps: | |
| - name: Automatically pass for allcontributors | |
| run: echo "CI automatically passes for allcontributors" && exit 0 | |