Update cpp-17-clang-15-ubuntu-22.04-qemu-arm.yml #200
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: cpp-17:clang-14:macos-12 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
build_mode: ["Release", "Debug"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install LLVM 14 | |
run: brew install llvm@14 | |
- name: Install GoogleTest | |
run: brew install googletest | |
- name: Install Abseil | |
run: brew install abseil | |
- name: Configure Build Directory | |
run: mkdir build | |
- name: Initialize CMake | |
run: cd build && export CC=clang CXX=clang++ && cmake .. -DCMAKE_BUILD_TYPE=${{matrix.build_mode}} -DSTX_BUILD_TESTS=ON | |
- name: Build Tests | |
run: cd build && make | |
- name: Run Tests | |
run: ./build/stx_tests |