File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -103,24 +103,32 @@ jobs:
103
103
macos :
104
104
needs : [check]
105
105
runs-on : macos-latest
106
+ strategy :
107
+ matrix :
108
+ os : [macos-13, macos-14]
106
109
steps :
107
110
- uses : actions/checkout@v2
108
111
- uses : actions/setup-python@v2
109
112
with :
110
113
python-version : ' 3.10'
111
- architecture : x64
112
114
- name : Install Rust toolchain
113
115
uses : actions-rs/toolchain@v1
114
116
with :
115
117
profile : minimal
116
118
toolchain : stable
117
119
default : true
118
120
- name : Build wheels - x86_64
121
+ if : matrix.os == 'macos-13'
119
122
uses : messense/maturin-action@v1
120
123
with :
121
124
target : x86_64
122
125
args : --release --out dist
123
- - name : Install built wheel - x86_64
126
+ - name : Build wheels - arm64
127
+ uses : messense/maturin-action@v1
128
+ with :
129
+ target : aarch64-apple-darwin
130
+ args : --release --out dist
131
+ - name : Install built wheel
124
132
run : |
125
133
pip install gstools-core --no-index --find-links dist --force-reinstall --no-deps
126
134
python -c "import gstools_core"
You can’t perform that action at this time.
0 commit comments