CI: Updated the Ubuntu compile test to 24.04 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile on Ubuntu | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
- 'appveyor.yml' | |
- '.travis.yml' | |
branches-ignore: [snapshot] | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
- 'appveyor.yml' | |
- '.travis.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup ccache | |
uses: hendrikmuhs/ccache-action@v1 | |
with: | |
max-size: 250M | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install qtbase5-dev libqt5svg5-dev qttools5-dev-tools zlib1g-dev qtdeclarative5-dev qbs python3-dev | |
- name: Setup qbs | |
run: | | |
qbs --version | |
qbs setup-toolchains --detect | |
- name: Build | |
run: | | |
qbs build modules.cpp.compilerWrapper:ccache |