From 98a0441ec99d1e237ea242ba2fdc6faa32d1a2c5 Mon Sep 17 00:00:00 2001 From: David Van Horn Date: Tue, 5 Nov 2024 11:56:20 -0500 Subject: [PATCH] Try mac runner. --- .github/workflows/macos.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..2de9d4a --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,34 @@ +on: + - push + +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest] + racket-variant: ['CS'] + racket-version: ['8.6'] + name: Test on Racket ${{ matrix.racket-variant }} ${{ matrix.racket-version }} on ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@main + - name: Install nasm + run: brew install nasm + - name: Install Racket + uses: Bogdanp/setup-racket@v1.11 + 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: | + xvfb-run raco test -p langs