diff options
| author | CoderStig <79828759+CoderStig@users.noreply.github.com> | 2021-02-28 22:54:49 -0700 |
|---|---|---|
| committer | CoderStig <79828759+CoderStig@users.noreply.github.com> | 2021-03-02 01:48:17 -0700 |
| commit | 5ef48aa2eba1a4a1f413e350cb5310b3f345e822 (patch) | |
| tree | fe73ee5a01123cb727573231adc6c6028bee979f /.github | |
| parent | 630c47adffdafe74104a668f3bdc168a174e0afd (diff) | |
Refresh 1
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/main.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..74bc8996f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,41 @@ +--- +name: ci + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + container: + image: valandilmk64/mk64-ci:latest + credentials: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_TOKEN }} + + steps: + - uses: actions/checkout@v2 + + - name: Build tools + run: | + make -j4 -C tools/ + + - name: Extract assets + run: | + # Link the base roms in the build dir. + ln -s "/opt/assets/Mario Kart 64 (U) [!].z64" baserom.us.z64 + + # Verify that no assets were committed to the repo. + [ -z "$(find {actors,levels,textures}/ -name '*.png')" ] + [ -z "$(find assets/ -name '*.m64' -or '*.bin')" ] + [ -z "$(find roms/ -name '*.z64')" ] + ./extract_assets.py us + + - name: Build U source + run: | + make -j4 VERSION=us VERBOSE=1 COLOR=0 |
