Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
73e2b81
:bug: Fixed compilation issues
marcelwa Jun 27, 2024
010325b
:arrow_up: Upgraded lorina to a newer version
marcelwa Jun 27, 2024
27ea899
:arrow_up: Upgraded {fmt} to a newer version
marcelwa Jun 27, 2024
924c277
:bug: Made nlohmann::json compatible with {fmt}
marcelwa Jun 27, 2024
b6b5387
:arrow_up: Updated {fmt} to version 11.0.2
marcelwa Sep 6, 2024
fe26def
:alien: Updated lorina, bill, and mockturtle to incorporate changes m…
marcelwa Sep 6, 2024
6050cc8
Merge branch 'refs/heads/master' into mnt
marcelwa Sep 6, 2024
e55e2bb
:alien: `const` correctness
marcelwa Sep 6, 2024
8b4e5a8
Enforce runtime evaluation of dynamic formatting strings to fix `cons…
marcelwa Nov 17, 2024
12edac5
Rename variables to no longer use _ as those are reserved. Specifical…
marcelwa Nov 25, 2024
2eeadbe
Rename variables to no longer use _ as those are reserved. Specifical…
marcelwa Nov 25, 2024
7d29e91
Update CMake target versions
marcelwa Nov 26, 2024
21e0f48
:rotating_light: fix apple clang 15.0.7 error.
Drewniok Jan 7, 2025
8b6c28b
:rotating_light: fix apple clang 15.0.7 error.
Drewniok Jan 7, 2025
4927777
:art: small change.
Drewniok Jan 7, 2025
1acfb3b
:memo: add comment.
Drewniok Jan 7, 2025
f8a3a29
Merge pull request #1 from Drewniok/fix_apple_clang_15_error
marcelwa Jan 8, 2025
d533235
:bug: add missing namespace.
Drewniok Jan 9, 2025
2d8f914
Merge pull request #2 from Drewniok/fix_apple_clang_15_error
marcelwa Jan 9, 2025
1951e2a
:construction_worker: Modernized the Linux CI system for more extensi…
marcelwa Feb 7, 2025
02f0b34
:construction_worker: Adjust PR triggers
marcelwa Feb 7, 2025
7562387
:construction_worker: Adjust PR triggers
marcelwa Feb 7, 2025
eaa6d0b
:rewind: Revert triggers
marcelwa Feb 7, 2025
b68f91f
:arrow_up: Upgrade `phmap` dependency to the latest version
marcelwa Feb 7, 2025
03b302d
:rewind: Removed sanitizers
marcelwa Feb 7, 2025
225966e
:white_check_mark: Fixed tests
marcelwa Feb 25, 2025
396f216
Merge pull request #3 from marcelwa/ci-modernization
marcelwa Feb 25, 2025
bc29efa
:bug: Fixed LT and LE gates in `klut_network`
marcelwa Mar 8, 2025
9f9460f
:bug: Fixed `ri_to_ro` trait
marcelwa Mar 29, 2025
54e4303
:construction_worker: Modernize Windows and macOS CIs (#5)
marcelwa Apr 30, 2025
1863df5
:bug: Fix(aag): aag check with invalid index (#4)
wjrforcyber Apr 30, 2025
ca08978
:bug: Fixed missing include
marcelwa May 27, 2025
c6d2d3b
Fixed an inconsistency in depth_view
marcelwa Oct 20, 2025
3035156
Clean up names_view
marcelwa Oct 20, 2025
66704ab
Add assignment operator to names_view for proper state management
marcelwa Oct 20, 2025
1a91a74
Fixed double initialization of cloned block networks
marcelwa Nov 28, 2025
f71ef3f
Refactor(CDB): Add compile database (#7)
wjrforcyber Mar 21, 2026
d7d833f
Merge remote-tracking branch 'origin/master' into mnt
marcelwa Jul 18, 2026
8f0322e
🐛 Fix ASCII AIGER output literal index check for constant outputs
marcelwa Jul 24, 2026
b50f854
💚 Fix CI: stale CMake option names and retired Windows runners
marcelwa Jul 27, 2026
a8270dc
✅ Update stale block network clone expectations
marcelwa Jul 27, 2026
e968385
✨ Support sequential networks in write_aiger
marcelwa Jul 27, 2026
ce996dc
🐛 Fix reading sequential AIGER files produced by ABC
marcelwa Jul 28, 2026
c869608
♻️ Unify how register initialization is represented
marcelwa Jul 28, 2026
c5807b7
Merge remote-tracking branch 'origin/master' into mnt
marcelwa Aug 7, 2026
84b1b6e
🐛 Fix reading a latched AIGER file into a combinational network (#12)
marcelwa Aug 21, 2026
b856d3e
✨ Add cycle-accurate simulation of sequential networks (#13)
marcelwa Aug 21, 2026
15e0da2
🔒 Make lorina's shared regexes inline const (#14)
marcelwa Aug 29, 2026
7e1d988
Fix uninitialised read in lut_map on networks with dangling nodes
marcelwa Aug 30, 2026
8d96a76
Merge remote-tracking branch 'origin/mnt' into fix-lutmap-uninit-cut
marcelwa Aug 31, 2026
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
262 changes: 83 additions & 179 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,189 +3,93 @@ name: Linux CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build_and_test:
strategy:
# report every job, so a single failure does not mask the state of the rest
fail-fast: false
matrix:
os: [ ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm ]
compiler: [ g++-11, g++-12, g++-13, clang++-14, clang++-15, clang++-16 ]
exclude:
- os: ubuntu-22.04
compiler: g++-13
- os: ubuntu-22.04
compiler: clang++-16
- os: ubuntu-24.04
compiler: clang++-14
- os: ubuntu-24.04-arm
compiler: g++-11
- os: ubuntu-24.04-arm
compiler: g++-12
- os: ubuntu-24.04-arm
compiler: g++-13
- os: ubuntu-24.04-arm
compiler: clang++-14
include:
- os: ubuntu-22.04
compiler: g++-10
- os: ubuntu-24.04
compiler: g++-14
- os: ubuntu-24.04
compiler: clang++-17
- os: ubuntu-24.04
compiler: clang++-18
- os: ubuntu-24.04-arm
compiler: clang++-17
- os: ubuntu-24.04-arm
compiler: clang++-18

build-gcc9:
runs-on: ubuntu-latest
name: GNU GCC 9

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install GCC 9
run: |
sudo apt-get update
sudo apt-get install -y g++-9
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-9 -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests

build-gcc10:
runs-on: ubuntu-latest
name: GNU GCC 10

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install GCC 10
run: |
sudo apt-get update
sudo apt-get install -y g++-10
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-10 -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests

build-gcc10-cpp20:
runs-on: ubuntu-latest
name: GNU GCC 10 (c++20)
name: ${{matrix.os}} with ${{matrix.compiler}}
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install GCC 10 (c++20)
run: |
sudo apt-get update
sudo apt-get install -y gcc-10 g++-10
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DMOCKTURTLE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++-10 -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests

build-gcc12:
runs-on: ubuntu-latest
name: GNU GCC 12

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install GCC 12
run: |
sudo apt-get update
sudo apt-get install -y g++-12
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-12 -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests

build-clang11:
runs-on: ubuntu-22.04
name: Clang 11

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install Clang 11
run: |
sudo apt-get update
sudo apt-get install -y clang-11
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=clang++-11 -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests

build-clang13:
runs-on: ubuntu-22.04
name: Clang 13

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install Clang 13
run: |
sudo apt-get update
sudo apt-get install -y clang-13
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=clang++-13 -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests

build-clang13-asan:
runs-on: ubuntu-22.04
name: Clang 13 + ASAN
- name: Install libraries and the respective compiler
run: sudo apt-get update && sudo apt-get install -yq ${{matrix.compiler}}

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install Clang 13
run: |
sudo apt-get update
sudo apt-get install -y clang-13
- name: Build mockturtle with ASAN
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=clang++-13 -DMOCKTURTLE_ENABLE_ASAN=ON -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests with ASAN
run: |
cd build
./test/run_tests

compile-gcc9:
runs-on: ubuntu-latest
name: Compile everything (GCC 9)

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install GCC 9
run: |
sudo apt-get update
sudo apt-get install -y g++-9
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-9 -DMOCKTURTLE_BUILD_EXAMPLES=ON -DMOCKTURTLE_BUILD_EXPERIMENTS=ON -DMOCKTURTLE_BUILD_TESTS=ON ..
make
- name: Clone Repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup ccache
# ccache is not supported on ARM yet
if: matrix.os != 'ubuntu-24.04-arm'
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "${{matrix.os}}-${{matrix.compiler}}"
variant: ccache
save: true
max-size: 10G

- name: Setup mold
uses: rui314/setup-mold@v1

- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build

- name: Configure CMake
working-directory: ${{github.workspace}}/build
run: >
cmake ${{github.workspace}}
-DCMAKE_CXX_COMPILER=${{matrix.compiler}}
-DMOCKTURTLE_BUILD_EXAMPLES=ON
-DMOCKTURTLE_BUILD_EXPERIMENTS=ON
-DMOCKTURTLE_BUILD_TESTS=ON

- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . -j4

- name: Run tests
working-directory: ${{github.workspace}}/build/test
run: |
./run_tests "~[quality]"
113 changes: 55 additions & 58 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,69 +1,66 @@
name: MacOS CI
name: macOS CI

on:
push:
branches:
- master
- master
pull_request:
branches:
- master
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

defaults:
run:
shell: bash

jobs:
build-gcc13:
name: GNU GCC 13
runs-on: macOS-latest
build_and_test:
strategy:
# report every job, so a single failure does not mask the state of the rest
fail-fast: false
matrix:
os: [ macos-14, macos-15 ]
compiler: [ clang++ ]

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=$(which g++-13) -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests
build-clang17:
name: Clang 17
runs-on: macOS-latest
name: ${{matrix.os}} with ${{matrix.compiler}}
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install Clang 17
run: brew install llvm@17
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=$(brew --prefix llvm@17)/bin/clang++ -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests
build-clang18:
name: Clang 18
runs-on: macOS-latest
- name: Clone Repository
uses: actions/checkout@v4
with:
submodules: recursive

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Install Clang 18
run: brew install llvm@18
- name: Build mockturtle
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=$(brew --prefix llvm@18)/bin/clang++ -DMOCKTURTLE_BUILD_TESTS=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests
- name: Install building tools
run: brew install autoconf

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "${{matrix.os}}-${{matrix.compiler}}"
variant: ccache
save: true
max-size: 10G

- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build

- name: Configure CMake
working-directory: ${{github.workspace}}/build
run: >
cmake ${{github.workspace}}
-DCMAKE_CXX_COMPILER=${{matrix.compiler}}
-DMOCKTURTLE_BUILD_EXAMPLES=ON
-DMOCKTURTLE_BUILD_EXPERIMENTS=ON
-DMOCKTURTLE_BUILD_TESTS=ON

- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . -j4

- name: Run tests
working-directory: ${{github.workspace}}/build/test
run: |
./run_tests "~[quality]"
Loading
Loading