Skip to content

Commit 12f4721

Browse files
committed
CI: Only pin Python version on x64 macOS and Windows
See commit 18be09f
1 parent 18be09f commit 12f4721

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/ci-darwin-arm64v8.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222
run:
2323
shell: /usr/bin/arch -arch arm64e /bin/bash -l {0}
2424
steps:
25-
- name: Dependencies (Python 3.10)
26-
uses: actions/setup-python@v4
27-
with:
28-
python-version: '3.10'
2925
- name: Dependencies (Node.js)
3026
uses: actions/setup-node@v3
3127
with:

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,27 +62,28 @@ jobs:
6262
nodejs_version: 18
6363
nodejs_arch: x64
6464
steps:
65-
- name: Dependencies (Python 3.10)
66-
uses: actions/setup-python@v4
67-
with:
68-
python-version: '3.10'
6965
- name: Dependencies (Linux glibc)
7066
if: contains(matrix.container, 'centos')
7167
run: |
7268
curl -sL https://rpm.nodesource.com/setup_${{ matrix.nodejs_version }}.x | bash -
7369
yum install -y centos-release-scl
74-
yum install -y devtoolset-11-gcc-c++ make git nodejs fontconfig google-noto-sans-fonts
70+
yum install -y devtoolset-11-gcc-c++ make git python3 nodejs fontconfig google-noto-sans-fonts
7571
echo "/opt/rh/devtoolset-11/root/usr/bin" >> $GITHUB_PATH
7672
- name: Dependencies (Rocky Linux glibc)
7773
if: contains(matrix.container, 'rockylinux')
7874
run: |
7975
curl -sL https://rpm.nodesource.com/setup_${{ matrix.nodejs_version }}.x | bash -
80-
dnf install -y gcc-toolset-11-gcc-c++ make git nodejs fontconfig google-noto-sans-fonts
76+
dnf install -y gcc-toolset-11-gcc-c++ make git python3 nodejs fontconfig google-noto-sans-fonts
8177
echo "/opt/rh/gcc-toolset-11/root/usr/bin" >> $GITHUB_PATH
8278
- name: Dependencies (Linux musl)
8379
if: contains(matrix.container, 'alpine')
84-
run: apk add build-base git font-noto --update-cache
85-
- name: Dependencies (macOS, Windows)
80+
run: apk add build-base git python3 font-noto --update-cache
81+
- name: Dependencies (Python 3.10 - macOS, Windows)
82+
if: contains(matrix.os, 'macos') || contains(matrix.os, 'windows')
83+
uses: actions/setup-python@v4
84+
with:
85+
python-version: '3.10'
86+
- name: Dependencies (Node.js - macOS, Windows)
8687
if: contains(matrix.os, 'macos') || contains(matrix.os, 'windows')
8788
uses: actions/setup-node@v3
8889
with:

0 commit comments

Comments
 (0)