Files
mapmap/.github/workflows/ubuntu-build.yml
Alexandre Quessy d1e063449e Update README, CONTRIBUTING and CI for Linux
Add a new CI file for Ubuntu

Disable the old github workflows

Fix the Ubuntu build
2026-01-09 16:06:02 -05:00

55 lines
1.3 KiB
YAML

# Build MapMap on Ubuntu with all dependencies
name: Build on Ubuntu
on:
push:
branches: [ develop, master ]
pull_request:
branches: [ develop, master ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
liblo-dev liblo-tools \
qtbase5-dev \
qttools5-dev-tools \
qtmultimedia5-dev \
libqt5opengl5-dev \
qtwebengine5-dev \
qt5-qmake \
libqt5serialport5-dev \
libqt5xml5 \
libqt5network5 \
libqt5multimedia5-plugins \
libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
gstreamer1.0-plugins-bad \
gstreamer1.0-libav \
gstreamer1.0-vaapi \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-base-apps \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly \
gstreamer1.0-x \
gstreamer1.0-tools \
build-essential \
pkg-config
- name: Configure with qmake
run: qmake mapmap.pro
- name: Build
run: make -j$(nproc)
- name: Run tests
run: make check || true