generated from jnooree/c-like-templ
-
Notifications
You must be signed in to change notification settings - Fork 8
53 lines (45 loc) · 1.17 KB
/
pr-wheels.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# Project NuriKit - Copyright 2023 SNU Compbio Lab.
# SPDX-License-Identifier: Apache-2.0
#
name: Build test wheel for PR
on:
pull_request:
branches:
- main
- "release/**"
types:
- opened
- reopened
- synchronize
- ready_for_review
defaults:
run:
shell: bash
jobs:
check-want-test:
if: ${{ !github.event.pull_request.draft }}
uses: ./.github/workflows/_check-want-test.yaml
test-build-linux:
needs: [check-want-test]
if: ${{ needs.check-want-test.outputs.want-test == 'true' }}
uses: ./.github/workflows/_wheel-build.yaml
with:
python: cp38-manylinux_x86_64
test-build-mac-intel:
needs: [check-want-test]
if: ${{ needs.check-want-test.outputs.want-test == 'true' }}
uses: ./.github/workflows/_wheel-build.yaml
with:
python: cp38-macosx_x86_64
cpp_test: true
test-build-mac-arm:
needs: [check-want-test]
if: ${{ needs.check-want-test.outputs.want-test == 'true' }}
uses: ./.github/workflows/_wheel-build.yaml
with:
python: cp38-macosx_arm64
cpp_test: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true