Clean up handling of temporary files in test suite (#652) #1231
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 CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-gcc11: | |
name: GNU GCC 11 | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Build mockturtle | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_CXX_COMPILER=$(which g++-11) -DMOCKTURTLE_TEST=ON .. | |
make run_tests | |
- name: Run tests | |
run: | | |
cd build | |
./test/run_tests "~[quality]" | |
build-gcc12: | |
name: GNU GCC 12 | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Build mockturtle | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_CXX_COMPILER=$(which g++-12) -DMOCKTURTLE_TEST=ON .. | |
make run_tests | |
- name: Run tests | |
run: | | |
cd build | |
./test/run_tests "~[quality]" | |
build-clang14: | |
name: Clang 14 | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Build mockturtle | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DMOCKTURTLE_TEST=ON .. | |
make run_tests | |
- name: Run tests | |
run: | | |
cd build | |
./test/run_tests "~[quality]" | |
build-clang15: | |
name: Clang 15 | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Build mockturtle | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_CXX_COMPILER=$(brew --prefix llvm@15)/bin/clang++ -DMOCKTURTLE_TEST=ON .. | |
make run_tests | |
- name: Run tests | |
run: | | |
cd build | |
./test/run_tests "~[quality]" |