Skip to content

Commit 5745f97

Browse files
authored
Merge pull request #1 from theAeon/master
90% common library implementation for nmflib
2 parents af1c4c5 + ba5c267 commit 5745f97

File tree

146 files changed

+2811460
-5476
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+2811460
-5476
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
build_wheels:
11+
name: Build wheels on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
# macos-13 is an intel runner, macos-14 is apple silicon
18+
os: [windows-latest, ubuntu-latest, macos-13, macos-14]
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Export GitHub Actions cache environment variables
24+
uses: actions/github-script@v7
25+
with:
26+
script: |
27+
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
28+
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
29+
30+
- name: Build wheels
31+
uses: pypa/cibuildwheel@v2.21.3
32+
# ...
33+
# with:
34+
# package-dir: .
35+
# output-dir: wheelhouse
36+
# config-file: "{package}/pyproject.toml"
37+
38+
- uses: actions/upload-artifact@v4
39+
with:
40+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
41+
path: ./wheelhouse/*.whl
42+

0 commit comments

Comments
 (0)