Skip to content

Commit

Permalink
restore CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
lee30sonia committed Nov 18, 2021
1 parent fe0711f commit 085b743
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build-gcc7:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
name: GNU GCC 7

steps:
Expand All @@ -26,10 +26,10 @@ jobs:
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
build-gcc8:
./test/run_tests "~[quality]"
build-gcc9:
runs-on: ubuntu-latest
name: GNU GCC 8
name: GNU GCC 9

steps:
- uses: actions/checkout@v1
Expand All @@ -39,15 +39,15 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-8 -DMOCKTURTLE_TEST=ON ..
cmake -DCMAKE_CXX_COMPILER=g++-9 -DMOCKTURTLE_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
build-gcc9:
./test/run_tests "~[quality]"
build-gcc10:
runs-on: ubuntu-latest
name: GNU GCC 9
name: GNU GCC 10

steps:
- uses: actions/checkout@v1
Expand All @@ -57,16 +57,16 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-9 -DMOCKTURTLE_TEST=ON ..
cmake -DCMAKE_CXX_COMPILER=g++-10 -DMOCKTURTLE_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
build-clang8:
./test/run_tests "~[quality]"
build-gcc10-cpp20:
runs-on: ubuntu-latest
name: Clang 8
name: GNU GCC 10 (c++20)

steps:
- uses: actions/checkout@v1
with:
Expand All @@ -75,15 +75,15 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=clang++-8 -DMOCKTURTLE_TEST=ON ..
cmake -DMOCKTURTLE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++-10 -DMOCKTURTLE_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
build-clang9:
./test/run_tests "~[quality]"
build-clang11:
runs-on: ubuntu-latest
name: Clang 9
name: Clang 11

steps:
- uses: actions/checkout@v1
Expand All @@ -93,9 +93,9 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=clang++-9 -DMOCKTURTLE_TEST=ON ..
cmake -DCMAKE_CXX_COMPILER=clang++-11 -DMOCKTURTLE_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
./test/run_tests "~[quality]"
22 changes: 11 additions & 11 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- master

jobs:
build-gcc8:
name: GNU GCC 8
build-gcc9:
name: GNU GCC 9
runs-on: macOS-latest

steps:
Expand All @@ -21,14 +21,14 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc@8/bin/g++-8 -DMOCKTURTLE_TEST=ON ..
cmake -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc@9/bin/g++-9 -DMOCKTURTLE_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
build-gcc9:
name: GNU GCC 9
./test/run_tests "~[quality]"
build-gcc10:
name: GNU GCC 10
runs-on: macOS-latest

steps:
Expand All @@ -39,14 +39,14 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc@9/bin/g++-9 -DMOCKTURTLE_TEST=ON ..
cmake -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc@10/bin/g++-10 -DMOCKTURTLE_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
build-clang9:
name: Clang 9
./test/run_tests "~[quality]"
build-clang:
name: Clang 12
runs-on: macOS-latest

steps:
Expand All @@ -62,4 +62,4 @@ jobs:
- name: Run tests
run: |
cd build
./test/run_tests "[abstract_mig]"
./test/run_tests "~[quality]"
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
working-directory: ./build
- name: Build mockturtle
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" mockturtle.sln /t:run_tests
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" mockturtle.sln
working-directory: ./build
shell: cmd
- name: Run tests
run: |
cd build
.\test\Debug\run_tests "[abstract_mig]"
.\test\Debug\run_tests "~[quality]"

0 comments on commit 085b743

Please sign in to comment.