mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
Validate commit when making changes
This commit is contained in:
parent
994727ecd5
commit
a2002cb431
34
.github/workflows/validate.yml
vendored
Normal file
34
.github/workflows/validate.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: Validate decompiled code
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '*.md'
|
||||
- '**/*.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '*.md'
|
||||
- '**/*.md'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install requirements
|
||||
run: sudo apt-get install gcc-mipsel-linux-gnu
|
||||
- name: Clone main repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Clone game data repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: xeeynamo/sotn-decomp-private
|
||||
token: ${{ secrets.SOTN_DECOM_PRIVATE_REPO_TOKEN }}
|
||||
path: 'data'
|
||||
- name: Copy game data
|
||||
run: cp -r data/psx_us10/* .
|
||||
- name: Split game data
|
||||
run: make extract
|
||||
- name: Build and test
|
||||
run: make all
|
Loading…
Reference in New Issue
Block a user