Skip to content

Unify macos.yml and push.yml. #22

Unify macos.yml and push.yml.

Unify macos.yml and push.yml. #22

Workflow file for this run

on:
- push
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-latest]
racket-variant: ['BC', 'CS']
racket-version: ['8.6', '8.8', '8.14']
name: Test on Racket ${{ matrix.racket-variant }} ${{ matrix.racket-version }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@main
- name: Install nasm
run: sudo apt-get install nasm
- name: Install Racket
uses: Bogdanp/[email protected]
with:
architecture: 'x64'
distribution: 'full'
variant: ${{ matrix.racket-variant }}
version: ${{ matrix.racket-version }}
- name: Version info
run: |
nasm --version
gcc --version
- name: Install langs package
run: |
raco pkg install --auto ../langs/
- name: Run tests
run: |

Check failure on line 33 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
if [ "${{ matrix.os }}" == "macos-latest" ]; then
raco test -p langs
else
xvfb-run raco test -p langs
fi