54
54
- x86_64-apple-darwin/clang
55
55
- aarch64-apple-darwin/clang
56
56
- x86_64-unknown-linux-gnu/gcc
57
- - x86_64-unknown-linux-gnu/clang
58
57
- aarch64-unknown-linux-gnu/gcc
59
- - aarch64-unknown-linux-gnu/clang
60
58
debug :
61
59
- true
62
60
- false
@@ -66,41 +64,24 @@ jobs:
66
64
- target : i686-pc-windows-msvc/msvc
67
65
architecture : Win32
68
66
runner : windows-latest
69
- compiler : msvc
70
67
- target : x86_64-pc-windows-msvc/msvc
71
68
architecture : x64
72
69
runner : windows-latest
73
- compiler : msvc
74
70
- target : aarch64-pc-windows-msvc/msvc
75
71
architecture : ARM64
76
72
runner : windows-latest
77
- compiler : msvc
78
73
- target : x86_64-apple-darwin/clang
79
74
architecture : x86_64
80
75
runner : macos-13
81
- compiler : clang
82
76
- target : aarch64-apple-darwin/clang
83
77
architecture : aarch64
84
78
runner : macos-14
85
- compiler : clang
86
79
- target : x86_64-unknown-linux-gnu/gcc
87
80
architecture : x86_64
88
81
runner : ubuntu-22.04
89
- compiler : gcc
90
- - target : x86_64-unknown-linux-gnu/clang
91
- architecture : x86_64
92
- runner : ubuntu-22.04
93
- compiler : clang
94
82
- target : aarch64-unknown-linux-gnu/gcc
95
83
architecture : aarch64
96
84
runner : ubuntu-22.04
97
- compiler : gcc
98
- - target : aarch64-unknown-linux-gnu/clang
99
- architecture : aarch64
100
- runner : ubuntu-22.04
101
- compiler : clang
102
- env :
103
- CC : ${{ matrix.compiler }}
104
85
steps :
105
86
- uses : actions/checkout@v4
106
87
- uses : actions/setup-python@v5
@@ -111,10 +92,10 @@ jobs:
111
92
if : runner.os == 'Windows' && matrix.architecture != 'ARM64'
112
93
run : |
113
94
choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.0
114
- ./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '--pgo ' }} -p ${{ matrix.architecture }}
95
+ ./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }}
115
96
./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
116
97
117
- # No PGO or tests (yet):
98
+ # No tests (yet):
118
99
- name : Emulated Windows
119
100
if : runner.os == 'Windows' && matrix.architecture == 'ARM64'
120
101
run : |
@@ -132,7 +113,7 @@ jobs:
132
113
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
133
114
brew install llvm@${{ matrix.llvm }}
134
115
export SDKROOT="$(xcrun --show-sdk-path)"
135
- ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto ' }}
116
+ ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }}
136
117
make all --jobs 4
137
118
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
138
119
@@ -141,7 +122,7 @@ jobs:
141
122
run : |
142
123
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
143
124
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
144
- ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto ' }}
125
+ ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }}
145
126
make all --jobs 4
146
127
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
147
128
@@ -156,13 +137,11 @@ jobs:
156
137
make clean --jobs 4
157
138
export HOST=${{ matrix.architecture }}-linux-gnu
158
139
sudo apt install --yes "gcc-$HOST" qemu-user
159
- ${{ !matrix.debug && matrix.compiler == 'clang' && './configure --enable-optimizations' || '' }}
160
- ${{ !matrix.debug && matrix.compiler == 'clang' && 'make profile-run-stamp --jobs 4' || '' }}
161
140
export QEMU_LD_PREFIX="/usr/$HOST"
162
- CC="${{ matrix.compiler == 'clang' && 'clang --target=$ HOST' || '$HOST -gcc' }} " \
163
- CPP="$CC --preprocess" \
141
+ CC="$HOST-gcc" \
142
+ CPP="$HOST-gcc --preprocess" \
164
143
HOSTRUNNER=qemu-${{ matrix.architecture }} \
165
- ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--with-lto ' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes
144
+ ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes
166
145
make all --jobs 4
167
146
./python -m test --ignorefile=Tools/jit/ignore-tests-emulated-linux.txt --multiprocess 0 --timeout 4500 --verbose2 --verbose3
168
147
0 commit comments