CI: Switch mingw64 to Ubuntu 24.04 (#7682)
Switch mingw64 from Ubuntu 20.04 to Ubuntu 24.04
This commit is contained in:
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -245,7 +245,6 @@ jobs:
|
||||
mingw:
|
||||
name: mingw64
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/lmms/linux.mingw:20.04
|
||||
env:
|
||||
CMAKE_OPTS: >-
|
||||
-Werror=dev
|
||||
@@ -256,12 +255,12 @@ jobs:
|
||||
CCACHE_NOCOMPRESS: 1
|
||||
MAKEFLAGS: -j2
|
||||
steps:
|
||||
- name: Enable POSIX MinGW
|
||||
- name: Configure apt
|
||||
run: |
|
||||
update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
|
||||
update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
|
||||
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
|
||||
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
||||
sudo sh -c 'echo "deb http://ppa.launchpad.net/tobydox/mingw-w64/ubuntu focal main" > \
|
||||
/etc/apt/sources.list.d/tobydox-mingw-w64.list'
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72931B477E22FEFD47F8DECE02FE5F12ADDE29B2
|
||||
sudo apt-get update -y
|
||||
- name: Configure git
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
- name: Check out
|
||||
@@ -278,6 +277,10 @@ jobs:
|
||||
ccache-${{ github.job }}-64-${{ github.ref }}-
|
||||
ccache-${{ github.job }}-64-
|
||||
path: ~/.ccache
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
$(xargs < .github/workflows/deps-ubuntu-24.04-mingw.txt)
|
||||
- name: Configure
|
||||
run: |
|
||||
ccache --zero-stats
|
||||
|
||||
32
.github/workflows/deps-ubuntu-24.04-mingw.txt
vendored
Normal file
32
.github/workflows/deps-ubuntu-24.04-mingw.txt
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
binutils-mingw-w64
|
||||
ccache
|
||||
cmake
|
||||
fftw-mingw-w64
|
||||
file
|
||||
flac-mingw-w64
|
||||
fltk-mingw-w64
|
||||
fluidsynth-mingw-w64
|
||||
g++-mingw-w64-i686
|
||||
g++-mingw-w64-x86-64
|
||||
gcc-mingw-w64
|
||||
gcc-mingw-w64-i686
|
||||
gcc-mingw-w64-x86-64
|
||||
git
|
||||
glib2-mingw-w64
|
||||
lame-mingw-w64
|
||||
libgig-mingw-w64
|
||||
liblist-moreutils-perl
|
||||
libsamplerate-mingw-w64
|
||||
libsndfile-mingw-w64
|
||||
libsoundio-mingw-w64
|
||||
libvorbis-mingw-w64
|
||||
libxml-parser-perl
|
||||
libz-mingw-w64-dev
|
||||
mingw-w64-tools
|
||||
nsis
|
||||
portaudio-mingw-w64
|
||||
qt5base-mingw-w64
|
||||
qt5svg-mingw-w64
|
||||
qttools5-dev-tools
|
||||
sdl2-mingw-w64
|
||||
stk-mingw-w64
|
||||
Reference in New Issue
Block a user