Skip to content

Commit

Permalink
Adding M1 to Ci workflows (#2934)
Browse files Browse the repository at this point in the history
* adding new ci for m1

* removing python setup

* adding python 3.10 setup

* adding python 3.10 setup

* removed sanity test

* adding m1 to normal tests and ci

* adding m1 to normal tests and ci

* add m1 tests to regression
  • Loading branch information
udaij12 committed Feb 9, 2024
1 parent f71d875 commit ac885ca
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/regression_tests_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac885ca

Please sign in to comment.