microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
9eef22cb81d762f6c093a4740c992582267a783f

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/wheels.yml

38lines · modecode

1name: Build the wheels for Linux/Win32/MacOS
2
3on:
4 schedule:
5 # Run weekly on Monday 00:00
6 - cron: '00 00 * * MON'
7 push:
8 branches: [rel-*]
9 pull_request:
10 branches: [rel-*]
11 workflow_dispatch:
12
13jobs:
14 build_wheels:
15 name: Build wheels on ${{ matrix.os }}
16 runs-on: ${{ matrix.os }}
17 strategy:
18 matrix:
19 os: [ubuntu-20.04, windows-2019, macOS-10.15]
20
21 steps:
22 - uses: actions/checkout@v2
23
24 # Used to host cibuildwheel
25 - uses: actions/setup-python@v2
26
27 - name: Install cibuildwheel
28 run: python -m pip install cibuildwheel==2.1.1 cmake numpy==1.19.5
29
30 - name: Build wheels
31 run: python -m cibuildwheel --output-dir wheelhouse
32 # to supply options, put them in 'env', like:
33 # env:
34 # CIBW_SOME_OPTION: value
35
36 - uses: actions/upload-artifact@v2
37 with:
38 path: ./wheelhouse/*.whl
39