Edit

kc3-lang/libressl/.github/workflows/macos.yml

Branch :

  • Browse

    Commit

  • Author : Theo Buehler
    Date : 2024-10-11 11:50:18
    Hash : 3bdeded5
    Message : CI: bump macos-12 to 15 https://github.com/actions/runner-images/issues/10721

  • .github/workflows/macos.yml
  • # 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 }}"