Skip to content

Commit 1e76f03

Browse files
committed
test(hansbug): add release test in main branch
1 parent e889da2 commit 1e76f03

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/release_test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Release Test
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
release_test:
7+
name: Try build the release
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os:
13+
- 'ubuntu-18.04'
14+
# - 'windows-2019'
15+
- 'macos-10.15'
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 20
22+
23+
- name: Set up QEMU
24+
if: ${{ runner.os == 'Linux' }}
25+
uses: docker/setup-qemu-action@v1
26+
with:
27+
platforms: all
28+
- name: Build wheels
29+
uses: pypa/[email protected]
30+
31+
- name: Show the buildings
32+
shell: bash
33+
run: |
34+
ls -al ./wheelhouse
35+
- name: Upload packed files to artifacts
36+
uses: actions/upload-artifact@v2
37+
with:
38+
name: build-artifacts-${{ matrix.os }}
39+
path: ./wheelhouse/*

0 commit comments

Comments
 (0)