-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split the jobs into two files, macOS and macOS-legacy.
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# GitHub Actions workflow to run tests on macOS. | ||
name: "macOS-legacy" | ||
|
||
on: | ||
push: {} | ||
pull_request: {} | ||
schedule: | ||
- cron: "0 0 * * 0" # At 00:00 weekly on Sunday. | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ 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-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 }}" | ||
OS: "${{ matrix.os }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters