-
Notifications
You must be signed in to change notification settings - Fork 43
38 lines (36 loc) · 1012 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build
on:
push:
branches: [main, dev]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: fxiangucsd/sapien-build-env:3.2
env:
CMAKE_BUILD_PARALLEL_LEVEL: 2
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: "true"
- name: Build wheels
run: ./build.sh
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: ./wheelhouse/*.whl
- name: Update Nightly Release
uses: andelf/nightly-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: nightly
name: 'Nightly Release'
prerelease: true
body: 'SAPIEN development nightly release. This release is mainly for internal testing. Stable releases are published to pypi https://pypi.org/project/sapien/'
files: |
./wheelhouse/*.whl