Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jedeoric committed Dec 4, 2023
1 parent 08d174a commit 76b453d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
# git checkout
- name: Prepare environment for oricutron
# if: steps.cache-sdk.outputs.cache-hit != 'true'
if: steps.cache-sdk.outputs.cache-hit != 'true'
run: |
sudo apt-get install -y xvfb libgtk-3-0 libgtk-3-dev libsdl1.2debian libsdl1.2-dev
git clone https://github.com/pete-gordon/oricutron.git
cd oricutron && make && pwd && cd .. && ls -l && echo ${GITHUB_WORKSPACE}
echo Timeout oricutron : $TMOUT_ORICUTRON
echo Timeout oricutron : $secret.TMOUT_ORICUTRON
# - name: Compile orix-sdk
# if: steps.cache-sdk.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -115,10 +115,11 @@ jobs:
orix-sdk/**/*
md2hlp/**/*
orix-software/**/*
oricutron/**/*
key: ${{ secrets.CACHE_ID }}-orix-sdk_

- name: Prepare environment for project
run: mv cc65 ../ && mv orix-software ../ && mv orix-sdk ../ && mv md2hlp ../
run: mv cc65 ../ && mv orix-software ../ && mv orix-sdk ../ && mv md2hlp ../ && mv oricutron ../

- name: Compile project
run: CC65_HOME=${GITHUB_WORKSPACE}/../cc65 make
Expand All @@ -135,7 +136,7 @@ jobs:
!build/obj/*
- name: Post compilation
run: mv ../cc65 . && mv ../orix-software . && mv ../orix-sdk . && mv ../md2hlp .
run: mv ../cc65 . && mv ../orix-software . && mv ../orix-sdk . && mv ../md2hlp . && mv oricutron .

unit_test:
needs: build
Expand All @@ -156,6 +157,7 @@ jobs:
run: |
echo "export SDL_AUDIODRIVER=dummy" > xvfb.sh
echo "xvfb-run ${GITHUB_WORKSPACE}/oricutron" >> xvfb.sh
ls -l ../
ls -l ${GITHUB_WORKSPACE}
ls -l ${GITHUB_WORKSPACE}/oricutron
chmod +x xvfb.sh
Expand Down

0 comments on commit 76b453d

Please sign in to comment.