Skip to content

Commit

Permalink
Add super build ci example
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Aug 3, 2024
1 parent e2de17e commit 09c6557
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/superbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Sanitizers

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

- name: dependencies (windows)
run: |
choco install -y --limit-output ninja
choco install -y --limit-output openssl --version="3.1.1"
- 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

- name: vcvarsall
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
shell: cmd
- name: cmake-configure
run: |
cmake -S . -B ./build -GNinja -DCH10_EX03_SUPERBUILD=ON -DCMAKE_BUILD_TYPE=Debug
working-directory: chapter10/ex03_simple_qt_app

- name: build
run: |
cmake --build ./build
working-directory: chapter10/ex03_simple_qt_app

0 comments on commit 09c6557

Please sign in to comment.