-
Notifications
You must be signed in to change notification settings - Fork 4
61 lines (57 loc) · 1.93 KB
/
build_python_on_branch.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
56
57
58
59
60
61
name: Build Python on branch
on:
push:
branches: ["main"]
paths: ["scripts/**", ".github/cosmocc_version.txt", ".github/workflows/**", "zigshim/**", "checksums/**", "baseline/**"]
pull_request:
paths: ["scripts/**", ".github/cosmocc_version.txt", ".github/workflows/**", "zigshim/**", "checksums/**", "baseline/**"]
workflow_dispatch:
inputs:
run_tests:
required: false
type: boolean
debug:
required: false
type: boolean
verbose:
required: false
type: boolean
buildsystem_branch:
required: false
type: string
default: "portable-python"
jobs:
cpython:
name: CPython ${{ matrix.python_version }}
strategy:
fail-fast: false
matrix:
python_version: [ 3.9.20, 3.10.15, 3.11.10, 3.12.7 ]
uses: ./.github/workflows/build_python.yml
with:
python_version: ${{ matrix.python_version }}
run_tests: ${{ inputs.run_tests || false }}
debug: ${{ inputs.debug || false }}
verbose: ${{ inputs.verbose || false }}
platforms: "linux-x86_64,linux-aarch64,linux-i386,linux-arm,linux-riscv64,linux-loongarch64,linux-s390x,macos,windows,cosmo,freebsd13-x86_64,freebsd14-x86_64,freebsd15-x86_64,solaris11-x86_64"
buildsystem_branch: ${{ inputs.buildsystem_branch || 'portable-python' }}
graalpy:
name: GraalPy ${{ matrix.graalpy_version }}
strategy:
fail-fast: false
matrix:
graalpy_version: [ 24.1.1 ]
uses: ./.github/workflows/repackage_graalpy.yml
with:
graalpy_version: ${{ matrix.graalpy_version }}
platforms: "linux-x86_64,linux-aarch64,macos,windows"
pypy:
name: PyPy ${{ matrix.pypy_version }}
strategy:
fail-fast: false
matrix:
pypy_version: [ 7.3.17 ]
uses: ./.github/workflows/repackage_pypy.yml
with:
pypy_version: ${{ matrix.pypy_version }}
platforms: "linux-x86_64,linux-aarch64,macos,windows"