-
Notifications
You must be signed in to change notification settings - Fork 265
37 lines (32 loc) · 921 Bytes
/
macos.yml
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
32
33
34
35
36
37
# 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.
concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true
jobs:
test:
name: "${{ matrix.os }}/${{ matrix.arch }}"
runs-on: "${{ matrix.os }}"
if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: ["macos-15", "macos-14", "macos-13"]
arch: ["arm64", "x86_64"]
steps:
- name: "Install required packages"
run: brew install automake libtool
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Run tests"
run: ./scripts/test
env:
ARCH: "${{ matrix.arch }}"
OS: "${{ matrix.os }}"