blob: f8636ff4d1fde19bd82e6becc004f2947ee0693a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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", "macos-11"]
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 }}"
|