Skip to content

Commit

Permalink
Revert "Unify macos.yml and push.yml."
Browse files Browse the repository at this point in the history
This reverts commit 36164a8.
  • Loading branch information
dvanhorn committed Nov 5, 2024
1 parent e8a0a74 commit 4a7990a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -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/[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: |
raco test -p langs
8 changes: 2 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-latest]
os: [ubuntu-20.04, ubuntu-22.04]
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 }}
Expand All @@ -31,8 +31,4 @@ jobs:
raco pkg install --auto ../langs/
- name: Run tests
run: |
if [ "${{ matrix.os }}" == "macos-latest" ]; then
raco test -p langs
else
xvfb-run raco test -p langs
fi
xvfb-run raco test -p langs

0 comments on commit 4a7990a

Please sign in to comment.