From 0401198e23c0c9f543fe45663be3398a44cc64a3 Mon Sep 17 00:00:00 2001 From: Peter Kofler Date: Tue, 1 Aug 2023 15:49:06 +0200 Subject: [PATCH] Same for Chicken Scheme. --- .github/workflows/ci-workflow-chicken.yml | 39 +++++++++++++++++++++++ .github/workflows/ci-workflow-gambit.yml | 4 +-- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci-workflow-chicken.yml diff --git a/.github/workflows/ci-workflow-chicken.yml b/.github/workflows/ci-workflow-chicken.yml new file mode 100644 index 0000000..cc57f5f --- /dev/null +++ b/.github/workflows/ci-workflow-chicken.yml @@ -0,0 +1,39 @@ +name: CI Workflow Scheme Chicken + +on: [push, pull_request] + +jobs: + chicken_build_linux: + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v3 + + - name: Install Chicken + run: | + sudo apt-get update + sudo apt-cache policy chicken-bin + sudo apt-get -y install chicken-bin=4.13.0 + + - name: Test + run: csi -r5rs-syntax -q -b -I test ./test/assert-chicken-test.scm + + - name: Test the example + run: csi -r5rs-syntax -q -b -I sample ./sample/sample-unit-test.scm + + chicken_build_windows: + runs-on: windows-latest + steps: + - name: Check out the repo + uses: actions/checkout@v3 + + - name: Install Chicken + run: choco install chicken --version 4.13.0 + + - name: Test + run: C:\chicken\bin\csi -r5rs-syntax -q -b -I test test\assert-chicken-test.scm + # run: C:\tools\chicken\bin\csi -r5rs-syntax -q -b -I test test\assert-chicken-test.scm + + - name: Test the example + run: C:\chicken\bin\csi -r5rs-syntax -q -b -I sample sample\sample-unit-test.scm + # run: C:\tools\chicken\bin\csi -r5rs-syntax -q -b -I sample sample\sample-unit-test.scm diff --git a/.github/workflows/ci-workflow-gambit.yml b/.github/workflows/ci-workflow-gambit.yml index 7bae0bd..081e301 100644 --- a/.github/workflows/ci-workflow-gambit.yml +++ b/.github/workflows/ci-workflow-gambit.yml @@ -3,7 +3,7 @@ name: CI Workflow Scheme Gambit on: [push, pull_request] jobs: - build_linux: + gambit_build_linux: runs-on: ubuntu-latest steps: - name: Check out the repo @@ -20,7 +20,7 @@ jobs: - name: Test the example run: gsi ./sample/sample-unit-test.scm - build_windows: + gambit_build_windows: runs-on: windows-latest steps: - name: Check out the repo