Skip to content

Port to Ubuntu Noble #19

Port to Ubuntu Noble

Port to Ubuntu Noble #19

Workflow file for this run

name: build
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-24.04
container:
image: ubuntu:noble
steps:
- name: Accept EULAs
env:
DEBIAN_FRONTEND: interactive
run: echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
- name: Install dependencies
run: >
apt-get update && apt-get install -y -q
autoconf
bison
bzip2
cmake
flex
gettext
git-core
intltool
libglib2.0-dev
libtool
mingw-w64
nsis
pkg-config
protobuf-compiler
python3
python3-dev
stow
sudo
texinfo
unzip
wget
wine-stable
yasm
xz-utils
- name: Configure Mingw for POSIX threads
run: update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
- name: Configure Mingw for POSIX threads
run: update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
- name: Checkout
uses: actions/checkout@v2
with:
path: deps
- name: Fix source path
run: mv deps /src
- name: Create target directory
run: mkdir -p /target/stow
- name: Build dependencies
working-directory: /src/windows
run: make