update docs and tests for weak cas!
and lock!
operations
#6
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- machine: tpb | |
os: ubuntu-22.04 | |
configure: --pb --threads --enable-libffi | |
test: test-some-fast | |
- machine: a6osx | |
os: macos-12 | |
- machine: ta6osx | |
os: macos-12 | |
- machine: i3le | |
os: ubuntu-22.04 | |
- machine: ti3le | |
os: ubuntu-22.04 | |
- machine: a6le | |
os: ubuntu-22.04 | |
- machine: ta6le | |
os: ubuntu-22.04 | |
- machine: i3nt | |
os: windows-2022 | |
toolchain: vs | |
- machine: ti3nt | |
os: windows-2022 | |
toolchain: vs | |
- machine: a6nt | |
os: windows-2022 | |
toolchain: vs | |
- machine: ta6nt | |
os: windows-2022 | |
toolchain: vs | |
- machine: ta6nt | |
os: windows-2022 | |
toolchain: gcc | |
runs-on: ${{ matrix.config.os }} | |
env: | |
TARGET_MACHINE: ${{ matrix.config.machine }} | |
TOOLCHAIN: ${{ matrix.config.toolchain }} | |
CONFIGURE_ARGS: ${{ matrix.config.configure }} | |
TEST_TARGET: ${{ matrix.config.test }} | |
defaults: | |
run: | |
shell: bash | |
working-directory: ${{ github.workspace }} | |
steps: | |
- name: Configure git on Windows | |
if: ${{ runner.os == 'Windows' }} | |
run: git config --global core.autocrlf false | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Setup 32-bit Linux | |
if: ${{ endsWith(matrix.config.machine, 'i3le') }} | |
run: | | |
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install gcc-multilib lib32ncurses5-dev | |
- name: Build Chez Scheme with Visual Studio | |
if: ${{ matrix.config.toolchain == 'vs' }} | |
shell: cmd | |
run: build.bat ${{ matrix.config.machine }} | |
- name: Build Chez Scheme | |
run: .github/workflows/build.sh | |
- name: Run tests | |
if: ${{ matrix.config.toolchain != 'vs' }} | |
timeout-minutes: 60 | |
run: .github/workflows/test.sh | |
- name: Run tests with Visual Studio | |
if: ${{ matrix.config.toolchain == 'vs' }} | |
timeout-minutes: 60 | |
shell: cmd | |
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 | |
- 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: Check test results | |
run: | | |
cat $TARGET_MACHINE/mats/summary | |
diff -q .github/workflows/summary${{ matrix.config.test }} $TARGET_MACHINE/mats/summary |