Skip to content

Commit b5c57cd

Browse files
committed
ci: Use the right version of python
1 parent 352b951 commit b5c57cd

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ jobs:
1010
with:
1111
fetch-depth: 0
1212

13+
- name: Set up Python
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: '3.11'
17+
1318
- name: Install Dependencies
1419
run: |
1520
sudo apt update
16-
sudo apt install python3 git ninja-build libsdl2-dev nasm gcc-multilib qemu-system-x86
21+
sudo apt install git ninja-build libsdl2-dev nasm gcc-multilib qemu-system-x86
1722
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" llvm 16
1823
1924
- name: Set up the build environment

.github/workflows/nightly.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,15 @@ jobs:
3232
with:
3333
fetch-depth: 0
3434

35+
- name: Set up Python
36+
uses: actions/setup-python@v3
37+
with:
38+
python-version: '3.11'
39+
3540
- name: Install Dependencies
3641
run: |
3742
sudo apt update
38-
sudo apt install python3 git ninja-build libsdl2-dev nasm gcc-multilib qemu-system-x86
43+
sudo apt install git ninja-build libsdl2-dev nasm gcc-multilib qemu-system-x86
3944
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" llvm 16
4045
4146
- name: Set up the build environment

.github/workflows/stable.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515

16+
- name: Set up Python
17+
uses: actions/setup-python@v3
18+
with:
19+
python-version: '3.11'
20+
1621
- name: Install Dependencies
1722
run: |
1823
sudo apt update
19-
sudo apt install python3 git ninja-build libsdl2-dev nasm gcc-multilib qemu-system-x86
24+
sudo apt install git ninja-build libsdl2-dev nasm gcc-multilib qemu-system-x86
2025
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" llvm 16
2126
2227
- name: Set up the build environment

0 commit comments

Comments
 (0)