[Build System] Update Ubuntu version to 22.04 (#824)

* Update Ubuntu build.

* Add package python-is-python3.

* Try installing python3 instead of python.

* Replace Ubuntu version with 22.04.

* Update macos to 14.

* Revert "Update macos to 14."
This commit is contained in:
rl2939 2025-04-23 16:04:45 -04:00 committed by GitHub
parent 0407fefafb
commit 1d8278b591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ jobs:
target: [aarch64, armhf, i686, riscv64, x86_64]
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
image: ubuntu:22.04
steps:
- name: Install git
run: |
@ -125,7 +125,7 @@ jobs:
*.tar.gz
linux-x86_64-debug:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@ -239,7 +239,7 @@ jobs:
target: modduox-static
- name: moddwarf
target: moddwarf
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@ -254,7 +254,7 @@ jobs:
- name: Set up dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -yqq acl bc curl cvs git mercurial rsync subversion wget bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip automake binutils build-essential cpio libtool libncurses-dev pkg-config python libtool-bin liblo-dev qemu-user-static
sudo apt-get install -yqq acl bc curl cvs git mercurial rsync subversion wget bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip automake binutils build-essential cpio libtool libncurses-dev pkg-config python3 libtool-bin liblo-dev qemu-user-static
sudo apt-get install -yqq pandoc texlive-latex-recommended texlive-latex-extra
sudo apt-get clean
- name: Bootstrap toolchain
@ -471,7 +471,7 @@ jobs:
Cardinal-*.zip
headless:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@ -488,7 +488,7 @@ jobs:
make HEADLESS=true -j $(nproc)
lto:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@ -505,7 +505,7 @@ jobs:
make WITH_LTO=true -j $(nproc) native
sysdeps:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@ -521,7 +521,7 @@ jobs:
make SYSDEPS=true -j $(nproc)
source-tarball:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@ -561,7 +561,7 @@ jobs:
/home/runner/*/*/cardinal*.tar.xz
plugin-validation:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with: