Skip to content

foo

foo #5

Workflow file for this run

name: Testing
on:
push:
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Add packages
run: |
sudo apt-get update
sudo apt-get install fceux cc65
- name: Grab Dependencies
env:
ERSOFT_SECRET: ${{ secrets.ERSOFT_SECRET }}
run: |
mkdir -p ~/.local/bin
curl -L -u "$ERSOFT_SECRET" https://ejona.ersoft.org/taus-ci/flips -o ~/.local/bin/flips
chmod +x ~/.local/bin/flips
curl -OL -u "$ERSOFT_SECRET" https://ejona.ersoft.org/taus-ci/tetris.nes
curl -OL -u "$ERSOFT_SECRET" https://ejona.ersoft.org/taus-ci/tetris-pal.nes
- name: Build NTSC
run: |
make V=1
mv build/ build-ntsc/
- name: Build PAL
run: |
make V=1 PAL=1
mv build/ build-pal/
- name: Test NTSC
uses: coactions/setup-xvfb@v1
with:
run: |
ln -snf build-ntsc/ build
make V=1 test
- name: Test PAL
uses: coactions/setup-xvfb@v1
with:
run: |
ln -snf build-pal/ build
make V=1 PAL=1 test