FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/.github/workflows/reusable-windows.yml at main · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.5k
(2.5k)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
.github
/
workflows
/
reusable-windows.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
59 lines (55 loc) · 1.68 KB
Breadcrumbs
cpython
/
.github
/
workflows
/
reusable-windows.yml
Copy path
File metadata and controls
59 lines (55 loc) · 1.68 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name
:
Reusable Windows
on
:
workflow_call
:
inputs
:
arch
:
description
:
CPU architecture
required
:
true
type
:
string
free-threading
:
description
:
Whether to compile CPython in free-threading mode
required
:
false
type
:
boolean
default
:
false
interpreter
:
description
:
Which interpreter to build (switch-case or tail-call)
required
:
true
type
:
string
permissions
:
contents
:
read
env
:
FORCE_COLOR
:
1
jobs
:
build
:
name
:
Build and test (${{ inputs.arch }}, ${{ inputs.interpreter }})
runs-on
:
${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2025' }}
timeout-minutes
:
60
env
:
ARCH
:
${{ inputs.arch }}
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
persist-credentials
:
false
-
name
:
Register MSVC problem matcher
if
:
inputs.arch != 'Win32'
run
:
echo "::add-matcher::.github/problem-matchers/msvc.json"
-
name
:
Build CPython
#
msvc::musttail is not supported for debug builds, so we have to
#
switch to release.
run
:
>-
.\\PCbuild\\build.bat
-e -v
${{ inputs.interpreter == 'switch-case' && '-d' || '--tail-call-interp -c Release' }}
-p "${ARCH}"
${{ inputs.free-threading && '--disable-gil' || '' }}
shell
:
bash
-
name
:
Display build info
run
:
.\\python.bat -m test.pythoninfo
-
name
:
Tests
run
:
>-
.\\PCbuild\\rt.bat
-p "${ARCH}"
-q --fast-ci
${{ inputs.interpreter == 'switch-case' && '-d' || '' }}
${{ inputs.free-threading && '--disable-gil' || '' }}
shell
:
bash
Back
|
FazBrowse Home
|
New Git URL