Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

CI: Fixed path specifier and Clang build. #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@ name: CI

on:
push:
branches: [ "master" ]
branches:
- master
paths:
- checksum
- .github/workflows
- checksum/**
- .github/workflows/**
pull_request:
branches: [ "master" ]
branches:
- master
paths:
- checksum/**
- .github/workflows/**

jobs:
build:
Expand Down Expand Up @@ -50,6 +55,12 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"

- name: Use libc++
if: ${{ matrix.cpp_compiler == 'clang++' }}
shell: bash
run: |
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV

- name: Configure CMake
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
Expand Down