Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Nov 23, 2023
1 parent 1a35f44 commit 9d03306
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
pull_request:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -13,12 +16,15 @@ jobs:
- name: Add packages
run: |
sudo apt-get update
sudo apt-get install fceux cc65 flips
sudo apt-get install cc65 fceux
- 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
Expand All @@ -34,13 +40,17 @@ jobs:
- name: Test NTSC
uses: coactions/setup-xvfb@v1
env:
QT_QPA_PLATFORM: offscreen
with:
run: |
ln -snf build-ntsc/ build
make V=1 test
- name: Test PAL
uses: coactions/setup-xvfb@v1
env:
QT_QPA_PLATFORM: offscreen
with:
run: |
ln -snf build-pal/ build
Expand Down

0 comments on commit 9d03306

Please sign in to comment.