Improve Performance of DBus Interface Handling and ListItem Rendering #1739
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: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CONFIGURATION_DIRECTORY: ${{ github.workspace }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VCPKG_FEATURE_FLAGS: dependencygraph | |
permissions: | |
contents: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: 'build and run tests' | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/skaginn3x/skaginn3x/framework/tfc-toolchain:sha-6cd5f4c | |
strategy: | |
fail-fast: false | |
matrix: | |
preset_postfixes: [ gcc-debug, gcc-release, clang-debug, clang-release, gcc-debug-dynamic, clang-debug-dynamic ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: start dbus | |
run: | | |
dbus-daemon --system | |
- name: Restore artifacts, or setup vcpkg (do not install any package) | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgDirectory: '/opt/vcpkg' | |
vcpkgGitCommitId: 'be2d7f886aad895e282b59088a2dfca5f6e1c88a' | |
vcpkgJsonGlob: 'vcpkg.json' | |
- name: Run CMake consuming CMakePreset.json and vcpkg.json by mean of vcpkg. | |
uses: lukka/run-cmake@v10 | |
with: | |
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' | |
configurePreset: 'ci-${{ matrix.preset_postfixes }}' | |
buildPreset: 'build-ci-${{ matrix.preset_postfixes }}' | |
testPreset: 'test-ci-${{ matrix.preset_postfixes }}' |