Skip to content

Commit ac885ca

Browse files
authored
Adding M1 to Ci workflows (#2934)
* 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
1 parent f71d875 commit ac885ca

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/ci_cpu.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os: [ubuntu-20.04, macOS-latest]
24+
os: [ubuntu-20.04, macOS-latest, macos-14]
2525
steps:
26-
- name: Setup Python 3.8
26+
- name: Setup Python for M1
27+
if: matrix.os == 'macos-14'
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: '3.10'
31+
- name: Setup Python for all other OS
32+
if: matrix.os != 'macos-14'
2733
uses: actions/setup-python@v4
2834
with:
2935
python-version: 3.8

.github/workflows/regression_tests_cpu.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,21 @@ concurrency:
1515

1616
jobs:
1717
regression-cpu:
18-
# creates workflows for OS: ubuntu, macOS
18+
# creates workflows for OS: ubuntu, macOS, macOS M1
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [ubuntu-20.04, macOS-latest]
23+
os: [ubuntu-20.04, macOS-latest, macos-14]
2424
steps:
25-
- name: Setup Python 3.8
26-
uses: actions/setup-python@v3
25+
- name: Setup Python for M1
26+
if: matrix.os == 'macos-14'
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: '3.10'
30+
- name: Setup Python for all other OS
31+
if: matrix.os != 'macos-14'
32+
uses: actions/setup-python@v4
2733
with:
2834
python-version: 3.8
2935
architecture: x64

0 commit comments

Comments
 (0)