Skip to content

Commit

Permalink
Use a similar setup to the "CMake on multiple platforms" workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Dec 22, 2023
1 parent a36fd83 commit abfbfbd
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/synopsys-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,21 @@ jobs:
cache-key-prefix: ${{ runner.os }}-Qt-Cache-${{ env.QT_VERSION }}
dir: ${{ github.workspace }}/Qt

- name: Configure egoa
- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
id: strings
shell: bash
run: |
mkdir build
cmake -S . -B build
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Configure egoa
env:
CMAKE_PREFIX_PATH: ${{env.Qt6_DIR}}
CMAKE_MODULE_PATH: ${{env.Qt6_DIR}}
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=g++
-DCMAKE_C_COMPILER=gcc
-DEGOA_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release
-DBoost_NO_SYSTEM_PATHS=TRUE
Expand Down Expand Up @@ -128,7 +139,7 @@ jobs:
-DOGDF_LIBRARY_DIR="NONE-DIR"
-DOPENMP_INCLUDES="/opt/homebrew/opt/llvm/include"
-DOPENMP_LIBRARIES="/opt/homebrew/opt/llvm/lib"
-G "Unix Makefiles"
-S ${{ github.workspace }}
- name: Run coverity build/scan
run: |
Expand Down

0 comments on commit abfbfbd

Please sign in to comment.