diff --git a/.github/workflows/ci_cpu.yml b/.github/workflows/ci_cpu.yml index 85951f1e88..9e33b89780 100644 --- a/.github/workflows/ci_cpu.yml +++ b/.github/workflows/ci_cpu.yml @@ -21,9 +21,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macOS-latest] + os: [ubuntu-20.04, macOS-latest, macos-14] steps: - - name: Setup Python 3.8 + - name: Setup Python for M1 + if: matrix.os == 'macos-14' + uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: Setup Python for all other OS + if: matrix.os != 'macos-14' uses: actions/setup-python@v4 with: python-version: 3.8 diff --git a/.github/workflows/regression_tests_cpu.yml b/.github/workflows/regression_tests_cpu.yml index 324c8cad05..67f36841b4 100644 --- a/.github/workflows/regression_tests_cpu.yml +++ b/.github/workflows/regression_tests_cpu.yml @@ -15,15 +15,21 @@ concurrency: jobs: regression-cpu: - # creates workflows for OS: ubuntu, macOS + # creates workflows for OS: ubuntu, macOS, macOS M1 runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macOS-latest] + os: [ubuntu-20.04, macOS-latest, macos-14] steps: - - name: Setup Python 3.8 - uses: actions/setup-python@v3 + - name: Setup Python for M1 + if: matrix.os == 'macos-14' + uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: Setup Python for all other OS + if: matrix.os != 'macos-14' + uses: actions/setup-python@v4 with: python-version: 3.8 architecture: x64