Skip to content

Commit

Permalink
CI: Update ubuntu runners to ubuntu-24.04
Browse files Browse the repository at this point in the history
See RM #695

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
  • Loading branch information
cazfi committed Jun 2, 2024
1 parent e0f8d20 commit 90ff47b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
shell: bash
run: ./scripts/ci-build.sh mac-meson
normal:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: check out Freeciv
uses: actions/checkout@v4.1.1
Expand All @@ -104,12 +104,13 @@ jobs:
libsdl2-gfx-dev \
libsdl2-image-dev \
libsdl2-ttf-dev \
libmysqlclient-dev
libmysqlclient-dev \
unixodbc-dev
- name: build
shell: bash
run: ./scripts/ci-build.sh normal
dist:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: check out Freeciv
uses: actions/checkout@v4.1.1
Expand Down Expand Up @@ -140,7 +141,7 @@ jobs:
shell: bash
run: ./scripts/ci-build.sh dist
meson:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: check out Freeciv
uses: actions/checkout@v4.1.1
Expand Down Expand Up @@ -173,7 +174,7 @@ jobs:
shell: bash
run: ./scripts/ci-build.sh meson
clang_debug:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: check out Freeciv
uses: actions/checkout@v4.1.1
Expand Down Expand Up @@ -202,12 +203,13 @@ jobs:
libsdl2-gfx-dev \
libsdl2-image-dev \
libsdl2-ttf-dev \
libmysqlclient-dev
libmysqlclient-dev \
unixodbc-dev
- name: build
shell: bash
run: ./scripts/ci-build.sh clang_debug
tcc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: check out Freeciv
uses: actions/checkout@v4.1.1
Expand All @@ -229,13 +231,14 @@ jobs:
liblzma-dev \
libicu-dev \
libsqlite3-dev \
libmysqlclient-dev
libmysqlclient-dev \
unixodbc-dev
- name: build
shell: bash
run: ./scripts/ci-build.sh tcc

emsdk:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: check out Freeciv
uses: actions/checkout@v4.1.1
Expand Down
4 changes: 1 addition & 3 deletions scripts/ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ echo "Freeciv distribution check successful!"
;;

"meson")

# Minimum version to have Qt6 detection actually working
FC_MESON_VER="0.62.2"
FC_MESON_VER=""
if test "$FC_MESON_VER" != "" ; then
mkdir meson-install
cd meson-install
Expand Down

0 comments on commit 90ff47b

Please sign in to comment.