Skip to content

Commit be81f6d

Browse files
committed
Merge branch 'master' into piotro/checkpointing-integration
2 parents 040b283 + 37a68f5 commit be81f6d

140 files changed

Lines changed: 5595 additions & 2046 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
* text=auto
2+
*.sh text eol=lf
3+
*.bat text eol=crlf
4+
*.ps1 text eol=crlf
5+
6+
*.jpg binary
7+
*.png binary
8+
*.svg binary

.github/workflows/benchmark.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
)
2727
)
2828
runs-on: ubuntu-24.04
29-
timeout-minutes: 40
29+
timeout-minutes: 45
3030
container: ghcr.io/kuznia-rdzeni/amaranth-synth:ecp5-2025.01.31
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333

3434
- name: Set ownership (Github Actions workaround)
3535
run: |
@@ -39,14 +39,14 @@ jobs:
3939
- name: Set up Python
4040
uses: actions/setup-python@v5
4141
with:
42-
python-version: '3.11'
42+
python-version: '3.13'
4343

4444
- name: Install dependencies
4545
run: |
4646
python3 -m venv venv
4747
. venv/bin/activate
4848
python3 -m pip install --upgrade pip
49-
python3 -m pip install -r requirements-dev.txt
49+
python3 -m pip install ".[dev]"
5050
5151
- name: Synthesize
5252
run: |
@@ -62,7 +62,7 @@ jobs:
6262
./scripts/parse_benchmark_info.py -o synth-benchmark-${{ matrix.config }}.json
6363
cat ./synth-benchmark-${{ matrix.config }}.json
6464
65-
- uses: actions/upload-artifact@v4
65+
- uses: actions/upload-artifact@v7
6666
with:
6767
name: synth_benchmark_results-${{ matrix.config }}
6868
path: synth-benchmark-${{ matrix.config }}.json
@@ -83,14 +83,14 @@ jobs:
8383
container: ghcr.io/kuznia-rdzeni/riscv-toolchain:2024.12.07
8484
steps:
8585
- name: Checkout
86-
uses: actions/checkout@v4
86+
uses: actions/checkout@v6
8787
with:
8888
submodules: recursive
8989

9090
- name: Build embench
9191
run: cd test/external/embench && make
9292

93-
- uses: actions/upload-artifact@v4
93+
- uses: actions/upload-artifact@v7
9494
with:
9595
name: "embench"
9696
path: |
@@ -99,12 +99,12 @@ jobs:
9999
run-perf-benchmarks:
100100
name: Run performance benchmarks
101101
runs-on: ubuntu-22.04 # older version for compatibility with Docker image
102-
timeout-minutes: 30
103-
container: ghcr.io/kuznia-rdzeni/verilator:v5.008-2023.11.19_v
102+
timeout-minutes: 40
103+
container: ghcr.io/kuznia-rdzeni/verilator:v5.032-2026.04.15
104104
needs: build-perf-benchmarks
105105
steps:
106106
- name: Checkout
107-
uses: actions/checkout@v4
107+
uses: actions/checkout@v6
108108

109109
- name: Set ownership (Github Actions workaround)
110110
run: |
@@ -114,21 +114,21 @@ jobs:
114114
- name: Set up Python
115115
uses: actions/setup-python@v5
116116
with:
117-
python-version: '3.11'
117+
python-version: '3.13'
118118

119119
- name: Install dependencies
120120
run: |
121121
python3 -m venv venv
122122
. venv/bin/activate
123123
python3 -m pip install --upgrade pip
124-
python3 -m pip install -r requirements-dev.txt
124+
python3 -m pip install ".[dev]"
125125
126126
- name: Generate Verilog
127127
run: |
128128
. venv/bin/activate
129129
PYTHONHASHSEED=0 TRANSACTRON_VERBOSE=1 ./scripts/gen_verilog.py --verbose --config full
130130
131-
- uses: actions/download-artifact@v4
131+
- uses: actions/download-artifact@v8
132132
with:
133133
name: "embench"
134134
path: test/external/embench/build
@@ -139,7 +139,7 @@ jobs:
139139
scripts/run_benchmarks.py -o perf_benchmark.json --summary perf.md
140140
cat perf.md >> $GITHUB_STEP_SUMMARY
141141
142-
- uses: actions/upload-artifact@v4
142+
- uses: actions/upload-artifact@v7
143143
with:
144144
name: perf_benchmark_results
145145
path: perf_benchmark.json
@@ -152,7 +152,7 @@ jobs:
152152
needs: [run-perf-benchmarks, synthesis]
153153
steps:
154154
- name: Checkout
155-
uses: actions/checkout@v4
155+
uses: actions/checkout@v6
156156

157157
- name: Set ownership (Github Actions workaround)
158158
run: |
@@ -162,14 +162,14 @@ jobs:
162162
- name: Set up Python
163163
uses: actions/setup-python@v5
164164
with:
165-
python-version: '3.11'
165+
python-version: '3.13'
166166

167167
- name: Install dependencies
168168
run: |
169169
python3 -m venv venv
170170
. venv/bin/activate
171171
python3 -m pip install --upgrade pip
172-
python3 -m pip install -r requirements-dev.txt
172+
python3 -m pip install ".[dev]"
173173
174174
- name: Get baseline benchmarks results
175175
uses: actions/cache@v4
@@ -182,15 +182,15 @@ jobs:
182182
synth-benchmark-basic.json
183183
synth-benchmark-full.json
184184
185-
- uses: actions/download-artifact@v4
185+
- uses: actions/download-artifact@v8
186186
with:
187187
name: perf_benchmark_results
188188
path: artifacts
189-
- uses: actions/download-artifact@v4
189+
- uses: actions/download-artifact@v8
190190
with:
191191
name: synth_benchmark_results-basic
192192
path: artifacts
193-
- uses: actions/download-artifact@v4
193+
- uses: actions/download-artifact@v8
194194
with:
195195
name: synth_benchmark_results-full
196196
path: artifacts
@@ -230,17 +230,17 @@ jobs:
230230
timeout-minutes: 5
231231
needs: [run-perf-benchmarks, synthesis]
232232
steps:
233-
- uses: actions/checkout@v4
233+
- uses: actions/checkout@v6
234234

235-
- uses: actions/download-artifact@v4
235+
- uses: actions/download-artifact@v8
236236
with:
237237
name: perf_benchmark_results
238238
path: .
239-
- uses: actions/download-artifact@v4
239+
- uses: actions/download-artifact@v8
240240
with:
241241
name: synth_benchmark_results-basic
242242
path: .
243-
- uses: actions/download-artifact@v4
243+
- uses: actions/download-artifact@v8
244244
with:
245245
name: synth_benchmark_results-full
246246
path: .

.github/workflows/deploy_gh_pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
BUILD_DIR: "build"
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525

2626
- name: Set up Python
2727
uses: actions/setup-python@v5
@@ -33,7 +33,7 @@ jobs:
3333
python3 -m venv venv
3434
. venv/bin/activate
3535
python -m pip install --upgrade pip
36-
python -m pip install -r requirements-dev.txt
36+
python -m pip install ".[dev]"
3737
3838
- name: Build documentation
3939
run: |

0 commit comments

Comments
 (0)