mirror of https://github.com/n64decomp/mk64.git
Update main.yml
This commit is contained in:
parent
915ca4f38e
commit
850e3b2fe9
|
|
@ -8,34 +8,31 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
env:
|
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: valandilmk64/mk64-ci:latest
|
image: valandilmk64/mk64-ci:latest
|
||||||
|
credentials:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build tools
|
- name: Build tools
|
||||||
run: |
|
run: |
|
||||||
make -j4 -C tools/
|
make -j4 -C tools/
|
||||||
|
|
||||||
- name: Extract assets
|
- name: Extract assets
|
||||||
run: |
|
run: |
|
||||||
# Link the base roms in the build dir.
|
# Link the base roms in the build dir.
|
||||||
ln -s "/opt/assets/Mario Kart 64 (U) [!].z64" baserom.us.z64
|
ln -s "/opt/assets/Mario Kart 64 (U) [!].z64" baserom.us.z64
|
||||||
|
|
||||||
# Verify that no assets were committed to the repo.
|
# Verify that no assets were committed to the repo.
|
||||||
[ -z "$(find {actors,levels,textures}/ -name '*.png')" ]
|
[ -z "$(find {actors,levels,textures}/ -name '*.png')" ]
|
||||||
[ -z "$(find assets/ -name '*.m64' -or '*.bin')" ]
|
[ -z "$(find assets/ -name '*.m64' -or '*.bin')" ]
|
||||||
[ -z "$(find roms/ -name '*.z64')" ]
|
[ -z "$(find roms/ -name '*.z64')" ]
|
||||||
./extract_assets.py us
|
./extract_assets.py us
|
||||||
|
|
||||||
- name: Build U source
|
- name: Build U source
|
||||||
run: |
|
run: |
|
||||||
make -j4 VERSION=us VERBOSE=1 COLOR=0
|
make -j4 VERSION=us VERBOSE=1 COLOR=0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue