Skip to content

ci: try other set of presets #11

ci: try other set of presets

ci: try other set of presets #11

Workflow file for this run

on:
push:
pull_request:
name: Build
jobs:
windows:
name: 'Windows'
runs-on: windows-latest
steps:
- name: Install Qt 6
uses: jurplel/install-qt-action@v4
with:
version: '6.7.2'
host: windows
- uses: lukka/get-cmake@latest
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
with:
# This specifies the location of vcpkg, where it is going to be restored from cache, or create from scratch.
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
# The Git commit id of vcpkg to be checked out. This is only needed because we are not using a submodule.
vcpkgGitCommitId: 'a42af01b72c28a8e1d7b48107b33e4f286a55ef6'
# The vcpkg.json file, which will be part of cache key computation.
vcpkgJsonGlob: '**vcpkg.json'
- name: Run CMake consuming CMakePreset.json and run vcpkg to build packages
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja-multi-vcpkg'
buildPreset: 'ninja-multi-vcpkg'
buildPresetAdditionalArgs: "['--config Release']"
flatpak:
name: 'Linux/Flatpak'
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-6.7
options: --privileged
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: mossball.flatpak
manifest-path: linux/com.github.lumiscosity.Mossball.yml
cache-key: flatpak-builder-${{ github.sha }}