Use glaze for secrets and coincenter info #1815
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
xcode: | |
name: Build on MacOS | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
compiler: [g++-14] | |
buildmode: [Debug] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 15.4 | |
- name: Install dependencies | |
run: | | |
brew update && brew upgrade | |
brew install ninja | |
echo "CC=$(echo ${{matrix.compiler}} | sed -e 's/^g++/gcc/' | sed 's/+//g')" >> $GITHUB_ENV | |
- name: Configure | |
run: cmake -DCCT_ENABLE_ASAN=OFF -S . -B build -GNinja | |
env: | |
CXX: ${{matrix.compiler}} | |
CMAKE_BUILD_TYPE: ${{matrix.buildmode}} | |
- name: Build | |
run: cmake --build build --config ${{matrix.buildmode}} | |
- name: Tests | |
working-directory: ${{github.workspace}}/build | |
run: ctest -j 2 --output-on-failure --repeat until-pass:5 | |
- name: Sanity check main executable | |
working-directory: ${{github.workspace}}/build | |
run: ./coincenter --help |