Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
54940c6
[ ci ] Print errors stats comparison
L3odr0id Mar 30, 2026
7aa2f41
[ fix ] Lint
L3odr0id Mar 31, 2026
0d7957d
[ fix ] Lint
L3odr0id Mar 31, 2026
eaa2073
[ new ] Common model for SV & VHDL
L3odr0id Apr 6, 2026
b4866d9
[ fix ] Lint
L3odr0id Apr 6, 2026
9de7ca7
[ fix ] Lint
L3odr0id Apr 6, 2026
c8ab973
[ fix ] Lint
L3odr0id Apr 6, 2026
b5d7f9e
[ fix ] Some CI scripts...
L3odr0id Apr 7, 2026
e591e51
[ fix ] Lint
L3odr0id Apr 7, 2026
19500fc
[ fix ] Lint
L3odr0id Apr 7, 2026
b3124a6
[ fix ] Format & ignore timeouts
L3odr0id Apr 8, 2026
25b5d00
[ ci ] Support regression testing
L3odr0id Apr 12, 2026
e128a0f
[ ci ] Fix
L3odr0id Apr 12, 2026
8f07aa7
[ ci ] Fix
L3odr0id Apr 13, 2026
ccd5ee1
[ ci ] Fix
L3odr0id Apr 13, 2026
bf977f9
[ ci ] Fix
L3odr0id Apr 14, 2026
a5b03fa
[ ci ] Fix
L3odr0id Apr 14, 2026
802aaef
[ ci ] Fix
L3odr0id Apr 14, 2026
0c35857
[ ci ] Debug
L3odr0id Apr 14, 2026
d188820
[ ci ] Fix
L3odr0id Apr 15, 2026
313babe
[ ci ] Debug
L3odr0id Apr 15, 2026
00d1fd5
[ ci ] Debug
L3odr0id Apr 15, 2026
d9a093c
[ ci ] Fix
L3odr0id Apr 15, 2026
68d9362
[ fix ] Lint
L3odr0id Apr 15, 2026
7b66204
[ fix ] Lint
L3odr0id Apr 15, 2026
0764e1a
[ fix ] Lint
L3odr0id Apr 15, 2026
0928218
[ fix ] Lint
L3odr0id Apr 15, 2026
cd08827
[ fix ] Tests
L3odr0id Apr 15, 2026
7d068d0
[ fix ] Lint
L3odr0id Apr 16, 2026
d532fe4
[ fix ] typeOf
L3odr0id Apr 17, 2026
83d953b
[ fix ] Model
L3odr0id Apr 17, 2026
7ebd301
[ fix ] Model
L3odr0id Apr 18, 2026
b3323ec
[ fix ] Model
L3odr0id Apr 18, 2026
0c66188
[ fix ] Tests
L3odr0id Apr 19, 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
3 changes: 1 addition & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ max_line_length = off

[*.py]
indent_style = space
indent_size = 4

[/ci/runner/tools-run/tests/data/**/*]
[**/tests/data/**/*]
max_line_length = unset
129 changes: 129 additions & 0 deletions .github/actions/setup-tool/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
name: Setup tool
description: Clone, build (with caching), and install a tool from source.

inputs:
tool-name:
required: true
tool-repo:
required: true
tool-path:
required: true
tool-build:
required: true
tool-install:
required: true
tool-deps:
required: false
default: ""
tool-version:
required: false
default: ""
tool-rust-ver:
required: false
default: ""
tool-pre-build:
required: false
default: ""
tool-third-party-release-repo:
required: false
default: ""
tool-third-party-release-name-wildcard:
required: false
default: ""

runs:
using: composite
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false

- name: Update apt
shell: bash
run: sudo apt update -qq

- name: Clone tool
shell: bash
run: |
git clone ${{ inputs.tool-repo }} ${{ inputs.tool-path }}
cd ${{ inputs.tool-path }}
echo "COMMIT_HASH=$(git rev-parse HEAD)" >> "$GITHUB_ENV"

- name: Restore from cache
id: cache-build
uses: actions/cache/restore@v5
with:
path: ${{ inputs.tool-path }}
key: ${{ inputs.tool-name }}-cache-${{ env.COMMIT_HASH }}

- name: Add bazel repo (if needed)
if: contains(inputs.tool-deps, 'bazel')
shell: bash
run: |
sudo apt -qq -y install apt-transport-https curl gnupg
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
chmod a+r bazel.gpg
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
sudo echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt update -qq

- name: Install tool-specific dependencies
if: inputs.tool-deps != ''
shell: bash
run: sudo apt -qq -y install ${{ inputs.tool-deps }}

- name: Setup Rust (if needed)
if: inputs.tool-rust-ver != ''
shell: bash
run: |
sudo apt -y install curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > setup.sh
sh setup.sh -y
source "$HOME/.cargo/env"
rustup install ${{ inputs.tool-rust-ver }}
rustup default ${{ inputs.tool-rust-ver }}

- name: Update haskell (if needed)
if: contains(inputs.tool-deps, 'haskell') && steps.cache-build.outputs.cache-hit != 'true'
shell: bash
run: stack upgrade

- name: Download third-party release (if needed)
if: inputs.tool-third-party-release-repo != ''
uses: robinraju/release-downloader@v1
with:
repository: ${{ inputs.tool-third-party-release-repo }}
latest: true
extract: true
fileName: ${{ inputs.tool-third-party-release-name-wildcard }}

- name: Pre-Build tool
if: inputs.tool-pre-build != ''
shell: bash
run: ${{ inputs.tool-pre-build }}

- name: Build tool
if: steps.cache-build.outputs.cache-hit != 'true'
shell: bash
run: |
cd ${{ inputs.tool-path }}
${{ inputs.tool-build }}

- name: Save build
if: steps.cache-build.outputs.cache-hit != 'true'
uses: actions/cache/save@v5
with:
path: ${{ inputs.tool-path }}
key: ${{ steps.cache-build.outputs.cache-primary-key }}

- name: Install tool
shell: bash
run: |
cd ${{ inputs.tool-path }}
${{ inputs.tool-install }}

- name: Print version
if: inputs.tool-version != ''
shell: bash
run: ${{ inputs.tool-version }}
1 change: 1 addition & 0 deletions .github/linters/.isort.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[settings]
profile = black
line_length = 152
7 changes: 6 additions & 1 deletion .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"ignore": ["**/thirdparty/**", "**/.github/**", "**/ci/runner/tools-run/tests/**", "**/tests/**/*.json"],
"ignore": [
"**/thirdparty/**",
"**/.github/**",
"**/ci/runner/tools-run/tests/**",
"**/tests/**/*.json"
],
"noSymlinks": "true",
"exitCode": 10
}
4 changes: 4 additions & 0 deletions .github/linters/zizmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ rules:
disable: true
unpinned-uses:
disable: true
secrets-outside-env:
disable: true
github-env:
disable: true
Loading