Skip to content

Commit 05e202f

Browse files
check runner info
1 parent bc512ec commit 05e202f

1 file changed

Lines changed: 41 additions & 10 deletions

File tree

.github/workflows/test-ubuntu-runner.yml

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
# os: [windows-latest, windows-11-arm, ubuntu-latest, macos-15-intel, macos-latest]
16-
os: [ubuntu-22.04-arm]
16+
os: [ubuntu-22.04-arm, ubuntu-24.04-arm]
17+
# python-version: [
18+
# '3.10', '3.11', '3.12', '3.13', '3.14', '3.15'
19+
# ]
1720
python-version: [
18-
'3.10', '3.11', '3.12', '3.13', '3.14', '3.15'
21+
'3.14'
1922
]
2023

2124
steps:
@@ -26,19 +29,47 @@ jobs:
2629
# run: |
2730
# mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
2831
# mkdir -p "${{ runner.tool_cache }}"
29-
- name: Show runner tool cache location
30-
run: echo "Tool cache ${{ runner.tool_cache }}"
31-
- name: Show active python3 location
32-
run: |
33-
which python3
34-
ls -l $(which python3)
35-
- name: Check Python version
36-
run: python3 --version
32+
# - name: Show runner tool cache location
33+
# run: echo "Tool cache ${{ runner.tool_cache }}"
34+
# - name: Show active python3 location
35+
# run: |
36+
# which python3
37+
# ls -l $(which python3)
38+
# - name: Check Python version
39+
# run: python3 --version
3740
- name: Set up Python ${{ matrix.python-version }}
3841
uses: actions/setup-python@v6
3942
# uses: priya-kinthali/setup-python@test-1079
4043
with:
4144
python-version: ${{ matrix.python-version }}
45+
- name: Show Ubuntu + bz2 versions
46+
run: |
47+
set -euxo pipefail
48+
49+
echo "== OS release =="
50+
cat /etc/os-release
51+
echo
52+
53+
echo "== Kernel =="
54+
uname -a
55+
echo
56+
57+
echo "== dpkg versions (bzip2 / libbz2) =="
58+
dpkg -l | awk 'NR==1 || NR==2 || $2 ~ /^(bzip2|libbz2-1\.0)$/ {print}'
59+
echo
60+
61+
echo "== apt policy (shows candidate + installed) =="
62+
apt-cache policy bzip2 libbz2-1.0 || true
63+
- name: Show _bz2 linkage
64+
run: |
65+
set -euxo pipefail
66+
python -c "import _bz2, sys, os; print('python:', sys.version); print('_bz2:', os.path.abspath(_bz2.__file__))"
67+
ldd "$(python -c 'import _bz2, os; print(os.path.abspath(_bz2.__file__))')" | grep -i bz2 || true
68+
- name: Show architecture
69+
run: |
70+
uname -m
71+
dpkg --print-architecture
72+
4273
- name: Check Python version
4374
run: python3 --version
4475

0 commit comments

Comments
 (0)