Skip to content

Commit

Permalink
CI: Add dragon-mooh and test it on XRoar
Browse files Browse the repository at this point in the history
  • Loading branch information
tormodvolden committed Nov 13, 2023
1 parent 3b7a736 commit bc1ef70
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false # keep on building even if one target fails
matrix:
target: [appleiie, dragon-nx32, esp32, esp8266, multicomp09, rbc-mark4, rcbus-6502, rcbus-68008, rpipico, sc108, tiny68k, armm0-libc]
target: [appleiie, dragon-mooh, dragon-nx32, esp32, esp8266, multicomp09, rbc-mark4, rcbus-6502, rcbus-68008, rpipico, sc108, tiny68k, armm0-libc]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
Expand All @@ -28,10 +28,12 @@ jobs:
echo "target=USERCPU=armm0" >> $GITHUB_ENV
echo "sub_target=libs" >> $GITHUB_ENV
;;
dragon-nx32|multicomp09)
dragon-mooh|dragon-nx32|multicomp09)
sudo add-apt-repository -n -y ppa:p-pisati/fuzix
PKGS="lwtools gcc6809"
sudo add-apt-repository -n -y ppa:tormodvolden/m6809
PKGS="lwtools gcc6809 xroar"
echo "target=TARGET=${{ matrix.target }}" >> $GITHUB_ENV
echo "flags=CI_TESTING=1" >> $GITHUB_ENV
;;
esp32)
PKGS="esptool"
Expand Down Expand Up @@ -69,4 +71,6 @@ jobs:
sudo apt-get install -y byacc automake ${PKGS}
sudo update-alternatives --set yacc /usr/bin/byacc
- name: make
run: ${{ env.setup_sh }} && make ${{ env.cross_cc }} ${{ env.target }} ${{ env.sub_target }} -j`nproc`
run: ${{ env.setup_sh }} && make ${{ env.cross_cc }} ${{ env.target }} ${{ env.sub_target }} ${{ env.flags }} -j`nproc`
- name: target testing
run: [ ! -e Build/tests/test-${{ matrix.target }} ] || Build/tests/test-${{ matrix.target }}

0 comments on commit bc1ef70

Please sign in to comment.