Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Oct 10, 2024
1 parent 300d3a0 commit 9918251
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,23 @@ jobs:
- name: Dependencies (Rocky Linux glibc)
if: contains(matrix.container, 'rockylinux')
run: |
dnf install -y gcc-toolset-11-gcc-c++ make git python3.10 fontconfig google-noto-sans-fonts
dnf install -y gcc-toolset-11-gcc-c++ make git python3 fontconfig google-noto-sans-fonts
echo "/opt/rh/gcc-toolset-11/root/usr/bin" >> $GITHUB_PATH
echo "PYTHON=$(which python3.10)" >> $GITHUB_ENV
echo "PYTHON=$(which python3)" >> $GITHUB_ENV
echo "PATH=$PATH:/opt/rh/gcc-toolset-11/root/usr/bin" >> $GITHUB_ENV
- name: Dependencies (Linux musl)
if: contains(matrix.container, 'alpine')
run: |
apk add build-base git python3.10 font-noto --update-cache
ln -sf /usr/bin/python3.10 /usr/bin/python3
apk add build-base git python3 font-noto --update-cache
ln -sf /usr/bin/python3 /usr/bin/python3
echo "PYTHON=/usr/bin/python3" >> $GITHUB_ENV
- name: Dependencies (Python - macOS, Windows)
if: contains(matrix.os, 'macos') || contains(matrix.os, 'windows')
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.x'

- name: Dependencies (Node.js)
if: "!contains(matrix.platform, 'linuxmusl')"
Expand Down

0 comments on commit 9918251

Please sign in to comment.