-
Notifications
You must be signed in to change notification settings - Fork 111
55 lines (51 loc) · 1.51 KB
/
build-and-run-stage-tests.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Build artifacts and run stage tests
run-name: Build artifacts and run stage tests (use-server-rc=${{ inputs.use-server-rc }}, server-tag=${{ inputs.server-tag }}, test-macos-x86=${{ inputs.test-macos-x86 }})
on:
workflow_dispatch:
inputs:
use-server-rc:
type: boolean
required: true
default: false
description: 'Test against server release candidate?'
server-tag:
type: string
required: true
default: 'latest'
description: 'Server docker image tag'
test-macos-x86:
required: true
type: boolean
default: true
description: 'Test macOS x86 wheels (unstable)'
jobs:
build-select-wheels:
strategy:
matrix:
platform-tag: [
"manylinux_x86_64",
"manylinux_aarch64",
"macosx_x86_64"
]
# Need all the artifacts to run all the stage tests, so fail fast
uses: ./.github/workflows/build-wheels.yml
with:
platform-tag: ${{ matrix.platform-tag }}
sha-to-build-and-test: ${{ github.sha }}
secrets: inherit
build-sdist:
uses: ./.github/workflows/build-sdist.yml
with:
sha_to_build: ${{ github.sha }}
run-stage-tests:
uses: ./.github/workflows/stage-tests.yml
needs: [
build-select-wheels,
build-sdist
]
secrets: inherit
with:
use_jfrog_builds: false
use-server-rc: ${{ inputs.use-server-rc }}
server-tag: ${{ inputs.server-tag }}
test-macos-x86: ${{ inputs.test-macos-x86 }}