23 lines
614 B
YAML
23 lines
614 B
YAML
name: Build CI
|
|
|
|
on: push
|
|
jobs:
|
|
build_and_test:
|
|
name: "Build"
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Install Qt
|
|
uses: jurplel/install-qt-action@v4
|
|
with:
|
|
version: '6.10.2'
|
|
cache: 'false' or 'true'
|
|
dir: ${{ gitea.workspace }}
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Build
|
|
# We don't need to set up the environment variable for CMake to see Qt because the install-qt-action
|
|
# sets up the necessary variables automatically
|
|
run: cmake --preset release && cmake --build --preset release |