From ca7a4a594201b8a1cdc72935ba2abb2f51bd92e6 Mon Sep 17 00:00:00 2001 From: jede Date: Mon, 4 Dec 2023 23:08:11 +0100 Subject: [PATCH] test --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 705dfb4..fefc1d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -75,6 +75,8 @@ jobs: git clone https://github.com/pete-gordon/oricutron.git cd oricutron && make && pwd && ls -l echo Timeout oricutron : $TMOUT_ORICUTRON + PATH=$PATH:/home/runner/work/kernel/kernel/oricutron + export PATH @@ -138,6 +140,18 @@ jobs: - name: Post compilation run: mv ../cc65 . && mv ../orix-software . && mv ../orix-sdk . && mv ../md2hlp . + unit_test: + needs: build + runs-on: ubuntu-22.04 + steps: + - name: Launch oricutron + run: | + echo "export SDL_AUDIODRIVER=dummy" > xvfb.sh + echo "xvfb-run /home/runner/work/kernel/kernel/oricutron" >> xvfb.sh + chmod +x xvfb.sh + timeout 5 ./xvfb.sh + + upload: needs: build runs-on: ubuntu-22.04