Skip to content

Commit

Permalink
Reorganize GitHub Actions test matrix
Browse files Browse the repository at this point in the history
* All Ubuntus now run tests with Python matching system one
* Windows builds use latest Python. Even if we break something in older versions, we can just ask users to upgrade
* Add Ubuntu 24.04
* Upgrade Python to 3.12
  • Loading branch information
slonopotamus committed Dec 11, 2024
1 parent bd38b04 commit 3b0ac93
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,27 @@ jobs:
strategy:
matrix:
include:
- { os: ubuntu-20.04, python: "3.7" }
- { os: ubuntu-20.04, python: "3.10" }
- { os: ubuntu-22.04, python: "3.10" }
- { os: windows-2019, python: "3.7", visual-studio: 2017 }
- { os: windows-2019, python: "3.10", visual-studio: 2017 }
- { os: windows-2019, python: "3.7", visual-studio: 2019 }
- { os: windows-2019, python: "3.10", visual-studio: 2019 }
- { os: windows-2019, python: "3.7", visual-studio: 2022 }
- { os: windows-2019, python: "3.10", visual-studio: 2022 }
- { os: windows-latest, python: "3.7", visual-studio: 2017 }
- { os: windows-latest, python: "3.10", visual-studio: 2017 }
- { os: windows-latest, python: "3.7", visual-studio: 2019 }
- { os: windows-latest, python: "3.10", visual-studio: 2019 }
- { os: windows-latest, python: "3.7", visual-studio: 2022 }
- { os: windows-latest, python: "3.10", visual-studio: 2022 }
# All supported Ubuntu LTS with system python
# Be careful when removing EOL versions so that we still test our oldest supported python at least somewhere
- { os: ubuntu-20.04, python: "3.8" }
- { os: ubuntu-22.04, python: "3.10" }
- { os: ubuntu-24.04, python: "3.12" }

# All supported Visual Studio on Windows Server 2019
- { os: windows-2019, python: "3.12", visual-studio: 2017 }
- { os: windows-2019, python: "3.12", visual-studio: 2019 }
- { os: windows-2019, python: "3.12", visual-studio: 2022 }

# All supported Visual Studio on Windows Server 2022
- { os: windows-2022, python: "3.12", visual-studio: 2017 }
- { os: windows-2022, python: "3.12", visual-studio: 2019 }
- { os: windows-2022, python: "3.12", visual-studio: 2022 }

# All supported Visual Studio on Windows Server 2025
# TODO: Waiting for https://github.com/actions/runner-images/issues/10806
# - { os: windows-2022, python: "3.12", visual-studio: 2017 }
# - { os: windows-2022, python: "3.12", visual-studio: 2019 }
# - { os: windows-2022, python: "3.12", visual-studio: 2022 }
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions docs/configuring-linux.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Follow the official installation instructions from the Docker Documentation for
Once Docker is installed, follow the instructions from the https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user[Post-installation steps for Linux] page of the Docker Documentation to allow Docker commands to be run by a non-root user.
This step is required in order to enable audio support when performing cloud rendering using the NVIDIA Container Toolkit.

== Step 2: Install Python 3.6 or newer
== Step 2: Install Python 3.8 or newer

WARNING: Note that older versions of these Linux distributions may not have Python 3.6 available in their system repositories by default.
WARNING: Note that older versions of these Linux distributions may not have Python 3.8 available in their system repositories by default.
When working with an older distribution it may be necessary to configure community repositories that provide newer versions of Python.

Under CentOS, run:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "ue4-docker"
version = "0.0.115"
description = "Windows and Linux containers for Unreal Engine"
requires-python = ">= 3.7"
requires-python = ">= 3.8"
license = { file = "LICENSE" }
readme = "README.md"
authors = [
Expand Down

0 comments on commit 3b0ac93

Please sign in to comment.