mirror of
https://github.com/spalencsar/bearwave.git
synced 2026-07-06 14:24:14 +02:00
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
arch-build:
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build in Arch Linux container
|
|
run: |
|
|
docker run --rm \
|
|
-v "${GITHUB_WORKSPACE}:/workspace" \
|
|
-w /workspace \
|
|
archlinux:latest \
|
|
bash -lc '
|
|
set -euo pipefail
|
|
pacman -Syu --noconfirm
|
|
pacman -S --noconfirm --needed \
|
|
base-devel \
|
|
cmake \
|
|
extra-cmake-modules \
|
|
git \
|
|
qt6-base \
|
|
qt6-declarative \
|
|
qt6-tools \
|
|
kirigami \
|
|
kcoreaddons \
|
|
ki18n \
|
|
phonon-qt6
|
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
|
|
cmake --build build -j"$(nproc)"
|
|
"$(/usr/lib/qt6/bin/qtpaths6 --query QT_INSTALL_BINS)/qmllint" src/qml/Main.qml
|
|
'
|