Merge pull request #138 from TheOnlyZac/theonlyzac-working #207
This file contains 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: | |
- "*" | |
jobs: | |
build: | |
if: github.repository_owner == 'theonlyzac' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U -r requirements.txt | |
- name: Setup wine | |
run: | | |
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install wine32 | |
- name: Setup build environment | |
run: | | |
sudo apt-get install binutils-mips-linux-gnu | |
scripts/setup_progd_linux.sh | |
curl -o disc/SCUS_971.98 "${{ secrets.FILE_URL }}" | |
- name: Run build script | |
run: | | |
python configure.py | |
ninja |