diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6dad426..b545441 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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' @@ -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 @@ -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 @@ -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