Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jedeoric committed Dec 5, 2023
1 parent 5c3cdda commit c7ce4f6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,13 @@ jobs:
ls -l && ls -l ../
mv cc65 ../ && mv orix-software ../ && mv orix-sdk ../ && mv md2hlp ../
- name: Compile project
run: CC65_HOME=${GITHUB_WORKSPACE}/../cc65 make

- name: List build directory content
run: ls -lR build

- name: unit-test/Launch oricutron
- name: Unit-test with oricutron
run: |
git clone https://github.com/orix-software/docker-unit-test.git
cd docker-unit-test && bash install.sh ${GITHUB_WORKSPACE} && cd ..
Expand All @@ -144,7 +143,7 @@ jobs:
- name: Check unit-test
run: |
ls -l ${GITHUB_WORKSPACE}/oricutron/sdcard/
ls -l ${GITHUB_WORKSPACE}/oricutron/sdcard/BIN
bash tests/unit_test/verify.sh ${GITHUB_WORKSPACE}/oricutron/sdcard/
- name: Upload Artifact
uses: actions/upload-artifact@v2
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ tmp/
*.r64
*.c02
*.816
*.log
*.log
build.inc
*.bin
12 changes: 12 additions & 0 deletions tests/unit_test/verify.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /bin/bash

MYPATH=$1

if [ -e "$MYPATH/STARTED" ]; then
echo "Le fichier $MYPATH/STARTED existe."
else
echo "Le fichier $MYPATH/STARTED n'existe pas."
echo "Le script submit n'a pas été lancé ou touch à un pb"
exit 1
fi

0 comments on commit c7ce4f6

Please sign in to comment.