This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build & test | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
jobs: | ||
checkout_repo: | ||
name: Checkout cl-custom-hash-table repo | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
install_ecl: | ||
name: Download and Install ECL | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
cd /tmp | ||
wget https://common-lisp.s3.eu-central-1.amazonaws.com/ecl-23.9.9.tgz | ||
tar -xzf ecl-23.9.9.tgz | ||
cd ecl-23.9.9 | ||
./configure | ||
make -j 8 | ||
sudo make install | ||
install_quicklisp: | ||
name: Install QuickLisp | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
cd /tmp | ||
wget -q https://beta.quicklisp.org/quicklisp.lisp | ||
run_test_suites: | ||
name: Run test suites of all implementations | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 1 | ||
matrix: | ||
scenario: [ecl_native, ecl_fallback] | ||
needs: [checkout_repo, install_quicklisp, install_ecl] | ||
steps: | ||
- run: | | ||
cd /home/runner/work/cl-custom-hash-table/cl-custom-hash-table/.github/workflows/ | ||
cat force-native.lisp github-workflow-tests.lisp > github-workflow-tests-fallback.lisp | ||
- run: cd /tmp | ||
- run: ecl --shell /home/runner/work/cl-custom-hash-table/cl-custom-hash-table/.github/workflows/github-workflow-tests.lisp | ||
if: scenario == ecl_native | ||
Check failure on line 50 in .github/workflows/run-tests.yaml
|
||
- run: ecl --shell /home/runner/work/cl-custom-hash-table/cl-custom-hash-table/.github/workflows/github-workflow-tests-fallback.lisp | ||
if: scenario == ecl_fallback |