# 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-26", "macos-15", "macos-14"] arch: ["arm64", "x86_64"] steps: - name: "Install required packages" run: | brew install automake libtool perl cpanminus PERL="$(brew --prefix perl)/bin/perl" "$PERL" "$(command -v cpanm)" --notest IO::Socket::SSL echo "$(brew --prefix perl)/bin" >> "$GITHUB_PATH" "$PERL" -MIO::Socket::SSL::Utils -e 1 - name: "Checkout repository" uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: "Run tests" run: ./scripts/test env: ARCH: "${{ matrix.arch }}" OS: "${{ matrix.os }}"