diff --git a/.github/workflows/macos-legacy.yml b/.github/workflows/macos-legacy.yml new file mode 100644 index 0000000000..f2634235b4 --- /dev/null +++ b/.github/workflows/macos-legacy.yml @@ -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 }}" diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cd52d2c20b..7874521c57 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["macos-14", "macos-13", "macos-12"] + os: ["macos-14"] arch: ["arm64", "x86_64"] steps: - name: "Install required packages"