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 a17cd8d commit be2e7da
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 @@ -118,7 +118,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 @@ -144,12 +144,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 @@ -180,7 +181,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 @@ -213,7 +214,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 @@ -242,12 +243,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 @@ -269,13 +271,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 be2e7da

Please sign in to comment.