chore(deps): update dependency @types/node to v20.17.7 #649
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: Quality | |
on: | |
pull_request: | |
branches: | |
- main | |
- development | |
push: | |
branches: | |
- main | |
- development | |
workflow_dispatch: | |
inputs: | |
debug: | |
description: 'Set to true to enable debug mode' | |
required: false | |
default: 'false' | |
jobs: | |
quality: | |
name: Build ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ windows-latest, ubuntu-latest, macos-latest ] | |
include: | |
- os: windows-latest | |
triplet: x64-windows | |
- os: ubuntu-latest | |
triplet: x64-linux | |
- os: macos-latest | |
triplet: x64-osx | |
env: | |
# Indicates the location of the vcpkg as a Git submodule of the project repository. | |
VCPKG_ROOT: ${{ github.workspace }}/deps/vcpkg | |
# Tells vcpkg where binary packages are stored. | |
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/deps/vcpkg/bincache | |
# Let's use GitHub Action cache as storage for the vcpkg Binary Caching feature. | |
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite' | |
steps: | |
# Set env vars needed for vcpkg to leverage the GitHub Action cache as a storage | |
# for Binary Caching. | |
- uses: actions/github-script@v7 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
# Create the directory to store the vcpkg's binary cache. | |
- name: "Create directory '${{ env.VCPKG_DEFAULT_BINARY_CACHE }}'" | |
run: mkdir -p $VCPKG_DEFAULT_BINARY_CACHE | |
shell: bash | |
# Set up the build machine with the most recent versions of CMake and Ninja. Both are cached if not already: on subsequent runs both will be quickly restored from GitHub cache service. | |
- uses: lukka/get-cmake@latest | |
- name: List $RUNNER_WORKSPACE before vcpkg is setup | |
run: find $RUNNER_WORKSPACE | |
if: ${{ inputs.debug == 'true' }} | |
shell: bash | |
- name: Setup vcpkg | |
uses: lukka/run-vcpkg@v11 | |
id: runvcpkg | |
with: | |
vcpkgDirectory: '${{ env.VCPKG_ROOT }}' | |
vcpkgJsonGlob: '**/vcpkg.json' | |
- name: List $RUNNER_WORKSPACE before build | |
run: find $RUNNER_WORKSPACE | |
if: ${{ inputs.debug == 'true' }} | |
shell: bash | |
- name: Prints output of run-vcpkg's action. | |
if: ${{ inputs.debug == 'true' }} | |
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' " | |
- name: Run CMake+vcpkg+Ninja | |
uses: lukka/run-cmake@v10 | |
id: runcmake | |
with: | |
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' | |
configurePreset: 'vcpkg-fmt-template-ninja-multiconfiguration-vcpkg' | |
buildPreset: 'vcpkg-fmt-template-ninja-multiconfiguration-vcpkg' | |
- name: List $RUNNER_WORKSPACE after build | |
run: find $RUNNER_WORKSPACE | |
if: ${{ inputs.debug == 'true' }} | |
shell: bash | |
# Upload vcpkg's logs as artifacts. | |
- name: Upload vcpkg build log files | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vcpkg-log-files-${{ matrix.os }} | |
path: deps/vcpkg/buildtrees/**/*.log | |
# Upload builds logs as artifacts. | |
- name: Upload builds log files | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: builds-log-files-${{ matrix.os }} | |
path: builds/**/*.log |