Skip to content

clang-format all cpp and hpp files #19

clang-format all cpp and hpp files

clang-format all cpp and hpp files #19

Workflow file for this run

name: Superbuild example
on:
push:
pull_request:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
windows-superbuild:
name: windows-superbuild
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:

Check failure on line 21 in .github/workflows/superbuild.yml

View workflow run for this annotation

GitHub Actions / Superbuild example

Invalid workflow file

The workflow is not valid. .github/workflows/superbuild.yml (Line: 21, Col: 14): Unexpected value '' .github/workflows/superbuild.yml (Line: 22, Col: 9): Unexpected value 'submodules'
submodules: recursive
- name: dependencies (windows)
run: |
choco install -y --limit-output ninja
choco install -y --limit-output openssl --version="3.1.1"
# because windows has a limit on the path length, we need to copy the example to a shorter path
- name: copy example to a shorter path
run: |
cp -r ./chapter10/ex03_simple_qt_app ./ch10_ex03
shell: bash
- name: correct-tmp-dir (win)
run: |
echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
echo "TMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
shell: pwsh
#this internally calls the vcvarsall.bat script to setup the environment
- name: setup-msvc-dev
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
- name: cmake-configure
run: |
cmake -S . -B ./build -GNinja -DCH10_EX03_USE_SUPERBUILD=ON -DCMAKE_BUILD_TYPE=Debug
working-directory: ./ch10_ex03
- name: build
run: |
cmake --build ./build
working-directory: ./ch10_ex03