Skip to content

Commit

Permalink
[CI] Adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhsnn committed Dec 6, 2024
1 parent cb4b0a8 commit bfe2374
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux_thirdparty.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: build-test-thirdparty

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,11 +28,12 @@ jobs:
path: /tmp/debian_asan.tar

thirdparty-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: docker
strategy:
matrix:
include:
- thirdparty: test_perl
- thirdparty: test_cello
- thirdparty: test_curl
- thirdparty: test_doom
Expand All @@ -44,7 +45,6 @@ jobs:
- thirdparty: test_oniguruma_jq
- thirdparty: test_openssh
- thirdparty: test_openssl
- thirdparty: test_perl
- thirdparty: test_php
- thirdparty: test_postgres
- thirdparty: test_python
Expand Down
8 changes: 4 additions & 4 deletions scripts/linux_thirdparty.bash
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ test_perl() {
export NO_NETWORK_TESTING=1
./Configure -des -Dcc="$CC" -Accflags=-fPIC -Alibs="-lpthread -ldl -lm -lcrypt -lutil -lc" \
-Alibpth="/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu"
make test
make test -j4
}

test_php() {
Expand All @@ -178,13 +178,13 @@ test_postgres() {
}

test_python() {
github_tar python cpython v3.13.0
github_tar python cpython v3.13.1
replace_line "#if defined(__GNUC__) || defined(__clang__)" "#if 1" Include/pyport.h
replace_line "#if defined(__linux__) && (defined(__GNUC__) || defined(__clang__))" "#if 1" Python/pylifecycle.c
./configure && make

rm Lib/test/test_ctypes/test_dlerror.py #https://github.com/python/cpython/issues/127626
skip_tests=(
test_external_inspection # https://github.com/fuhsnn/slimcc/issues/105

# don't work in CI https://github.com/python/cpython/blob/6d3b5206cfaf5a85c128b671b1d9527ed553c930/.github/workflows/build.yml#L408
test_asyncio test_socket
)
Expand Down

0 comments on commit bfe2374

Please sign in to comment.