Skip to content

Commit

Permalink
ci: clean up macOS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing committed Nov 8, 2023
1 parent b16146e commit 59c2226
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 21 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# GitHub Actions workflow to run tests on macOS.
name: "macOS"

on:
push: {}
pull_request: {}
schedule:
- cron: "0 0 * * 0" # At 00:00 weekly on Sunday.

jobs:
test:
name: "${{ matrix.os }}/${{ matrix.arch }}"
runs-on: "${{ matrix.os }}"
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: ["macos-13", "macos-12"]
arch: ["arm64", "x86_64"]
steps:
- name: "Install required packages"
run: brew install automake

- name: "Checkout repository"
uses: actions/checkout@v4

- name: "Run tests"
run: ./scripts/test
env:
ARCH: "${{ matrix.arch }}"
21 changes: 0 additions & 21 deletions .github/workflows/macos_test.yml

This file was deleted.

0 comments on commit 59c2226

Please sign in to comment.