Skip to content

Commit

Permalink
Add reboot pathway to CI (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
jryans committed Oct 18, 2023
1 parent 35013cf commit a55ce4f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else
else
./configure -m="$TARGET_MACHINE"
fi
make
make $MAKE_ARGS
fi
case "$TARGET_MACHINE" in
*a6nt)
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
os: ubuntu-22.04
- machine: ta6le
os: ubuntu-22.04
- machine: ta6le
os: ubuntu-22.04
variant: reboot
configure: -m=ta6le --force
make: re.boot SCHEME="chezscheme"
test: test-some-fast
- machine: i3nt
os: windows-2022
toolchain: vs
Expand All @@ -42,7 +48,9 @@ jobs:
env:
TARGET_MACHINE: ${{ matrix.config.machine }}
TOOLCHAIN: ${{ matrix.config.toolchain }}
VARIANT: ${{ matrix.config.variant }}
CONFIGURE_ARGS: ${{ matrix.config.configure }}
MAKE_ARGS: ${{ matrix.config.make }}
TEST_TARGET: ${{ matrix.config.test }}
defaults:
run:
Expand All @@ -62,6 +70,11 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install gcc-multilib lib32ncurses5-dev
- name: Setup existing Chez Scheme for reboot
if: ${{ startsWith(matrix.config.make, 're.boot') }}
run: |
sudo apt-get update
sudo apt-get install chezscheme
- name: Build Chez Scheme with Visual Studio
if: ${{ matrix.config.toolchain == 'vs' }}
shell: cmd
Expand All @@ -79,13 +92,13 @@ jobs:
run: build.bat ${{ matrix.config.machine }} /test-some
- name: Archive workspace
if: always()
run: tar -c -h -z -f $TARGET_MACHINE$TOOLCHAIN.tgz $TARGET_MACHINE
run: tar -c -h -z -f $TARGET_MACHINE$TOOLCHAIN$VARIANT.tgz $TARGET_MACHINE
- name: Upload archive
if: always()
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.config.machine }}${{ matrix.config.toolchain }}
path: ${{ matrix.config.machine }}${{ matrix.config.toolchain }}.tgz
name: ${{ matrix.config.machine }}${{ matrix.config.toolchain }}${{ matrix.config.variant }}
path: ${{ matrix.config.machine }}${{ matrix.config.toolchain }}${{ matrix.config.variant }}.tgz
- name: Check test results
run: |
cat $TARGET_MACHINE/mats/summary
Expand Down

0 comments on commit a55ce4f

Please sign in to comment.