25 lines
807 B
YAML
25 lines
807 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 dependencies
|
|
run: sudo apt-get update && sudo apt-get install autoconf autoconf-archive automake libtool cmake ninja-build libltdl-dev
|
|
if: matrix.os == 'ubuntu-latest'
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: Run vcpkg
|
|
uses: lukka/run-vcpkg@v11
|
|
with:
|
|
vcpkgDirectory: '${{ gitea.workspace }}/vcpkg'
|
|
- 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 |