Skip to content

Commit

Permalink
Hook up compiler selection
Browse files Browse the repository at this point in the history
  • Loading branch information
kintel committed May 2, 2023
1 parent c633ddf commit f47cbfa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Select compiler
run: |
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
echo "LD=lld" >> $GITHUB_ENV
if: ${{ inputs.compiler == 'clang' }}
- name: Build
run: |
CC=clang CXX=clang++ LD=lld cmake -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DEXPERIMENTAL=${{ inputs.enable_experimental }} -DWASM=${{ inputs.enable_wasm }} -DSANITIZE_MEMORY=${{ inputs.enable_msan }} -DSANITIZE_ADDRESS=${{ inputs.enable_asan }} -DSANITIZE_THREAD=${{ inputs.enable_tsan }} -DSANITIZE_UNDEFINED=${{ inputs.enable_ubsan }} -B b .
Expand Down

0 comments on commit f47cbfa

Please sign in to comment.