1111 - main
1212jobs :
1313 build_latex :
14- runs-on : ubuntu-latest
14+ runs-on : ubuntu-26.04
1515 steps :
1616 - name : Set up Git repository
17- uses : actions/checkout@v4
17+ uses : actions/checkout@v5
1818 - name : Cache documentation build
19- uses : actions/cache@v4
19+ uses : actions/cache@v5
2020 with :
2121 key : " doc-pdf-v1-${{ hashFiles('docs/**') }}"
2222 restore-keys : " doc-pdf-v1"
@@ -30,13 +30,13 @@ jobs:
3030 root_file : SMAesH.tex
3131 args : -auxdir=build -pdf -file-line-error -halt-on-error -interaction=nonstopmode
3232 - name : Upload PDF file
33- uses : actions/upload-artifact@v4
33+ uses : actions/upload-artifact@v6
3434 with :
3535 name : docs
3636 path : docs/SMAesH.pdf
3737
3838 sbox :
39- runs-on : ubuntu-24 .04
39+ runs-on : ubuntu-26 .04
4040 strategy :
4141 fail-fast : true
4242 matrix :
4545 NSHARES : " ${{ matrix.nshares }}"
4646 steps :
4747 - name : Check out repository code
48- uses : actions/checkout@v4
48+ uses : actions/checkout@v5
4949 with :
5050 submodules : true
5151 - name : Get COMPRESS version
@@ -55,21 +55,22 @@ jobs:
5555 shell : bash
5656
5757 - run : sudo apt-get install -y yosys
58+ - run : wget -qO- https://astral.sh/uv/install.sh | sh
5859 - name : Cache COMPRESS Sbox
59- uses : actions/cache@v4
60+ uses : actions/cache@v5
6061 with :
6162 key : " sbox-compress-v1-d${{ matrix.nshares }}-${{ hashFiles('sboxes-compress/canright_aes_sbox_dual.v') }}-${{ steps.compress-version.outputs.cv }}"
62- path : work/d${{ matrix.nshares }}/sbox
63+ path : work-python3.13 /d${{ matrix.nshares }}/sbox
6364 - run : make sbox DIR_MATCHI_ROOT=.
6465 - name : Upload COMPRESS sbox
65- uses : actions/upload-artifact@v4
66+ uses : actions/upload-artifact@v6
6667 with :
6768 name : sbox_${{ matrix.nshares }}
68- path : work/d${{ matrix.nshares }}/sbox/*
69+ path : work-python3.13 /d${{ matrix.nshares }}/sbox/*
6970
7071 functest :
7172 needs : [sbox]
72- runs-on : ubuntu-24 .04
73+ runs-on : ubuntu-26 .04
7374 strategy :
7475 fail-fast : true
7576 matrix :
@@ -78,71 +79,75 @@ jobs:
7879 NSHARES : " ${{ matrix.nshares }}"
7980 steps :
8081 - name : Check out repository code
81- uses : actions/checkout@v4
82+ uses : actions/checkout@v5
8283 with :
8384 submodules : true
84- - uses : actions/download-artifact@v4
85+ - uses : actions/download-artifact@v7
8586 with :
8687 name : sbox_${{ matrix.nshares }}
87- path : work/d${{ matrix.nshares }}/sbox
88- - run : sudo apt-get install -y yosys verilator iverilog
88+ path : work-python3.13/d${{ matrix.nshares }}/sbox
89+ - run : sudo apt-get install -y yosys iverilog
90+ - run : wget -qO- https://astral.sh/uv/install.sh | sh
91+ - run : (curl -L https://github.com/simple-crypto/hw-devtools/releases/download/v261506/hw-devtools.tar.gz | tar xz; sudo apt install ./hw-devtools/*.deb)
8992 - run : make func-tests DIR_MATCHI_ROOT=.
9093
9194 formal_verif_matchi :
9295 needs : [sbox]
93- runs-on : ubuntu-24 .04
96+ runs-on : ubuntu-26 .04
9497 strategy :
9598 fail-fast : true
9699 matrix :
97100 nshares : [2]
98101 steps :
99102 - name : Check out repository code
100- uses : actions/checkout@v4
103+ uses : actions/checkout@v5
101104 with :
102105 submodules : true
103- - uses : actions/download-artifact@v4
106+ - uses : actions/download-artifact@v7
104107 with :
105108 name : sbox_${{ matrix.nshares }}
106- path : work/d${{ matrix.nshares }}/sbox
107- - run : sudo apt-get install -y yosys iverilog python3.12-venv
109+ path : work-python3.13/d${{ matrix.nshares }}/sbox
110+ - run : sudo apt-get install -y yosys iverilog
111+ - run : wget -qO- https://astral.sh/uv/install.sh | sh
108112 - run : mkdir -p ${{ github.workspace }}/verif-tools
109113 - run : wget https://github.com/cassiersg/matchi/releases/download/v0.1.0/matchi -P ${{ github.workspace }}/verif-tools
110114 - run : chmod +x ${{ github.workspace }}/verif-tools/matchi
111115 - run : (cd ${{ github.workspace }}/verif-tools; curl -L https://github.com/cassiersg/matchi/archive/refs/tags/v0.1.0.tar.gz | tar xz)
112- - run : (curl -L https://github.com/simple-crypto/hw-devtools/releases/download/v241002-5 /hw-devtools.tar.gz | tar xz; sudo apt install ./hw-devtools/*.deb)
113- - run : mkdir -p work
114- - run : verilator --version > work/verilator_version
115- - run : yosys --version > work/yosys_version
116+ - run : (curl -L https://github.com/simple-crypto/hw-devtools/releases/download/v261506 /hw-devtools.tar.gz | tar xz; sudo apt install ./hw-devtools/*.deb)
117+ - run : mkdir -p work-python3.13
118+ - run : verilator --version > work-python3.13 /verilator_version
119+ - run : yosys --version > work-python3.13 /yosys_version
116120 - run : make formal-tests DIR_MATCHI_ROOT=. MATCHI_CELLS=${{ github.workspace }}/verif-tools/matchi-0.1.0/matchi_cells MATCHI_BIN=${{ github.workspace }}/verif-tools/matchi
117121
118122 lint :
119123 needs : [sbox]
120- runs-on : ubuntu-24 .04
124+ runs-on : ubuntu-26 .04
121125 strategy :
122126 fail-fast : true
123127 matrix :
124128 nshares : [2]
125129 steps :
126130 - name : Check out repository code
127- uses : actions/checkout@v4
131+ uses : actions/checkout@v5
128132 with :
129133 submodules : true
130- - uses : actions/download-artifact@v4
134+ - uses : actions/download-artifact@v7
131135 with :
132136 name : sbox_${{ matrix.nshares }}
133- path : work/d${{ matrix.nshares }}/sbox
134- - run : sudo apt-get install -y python3.12-venv
137+ path : work-python3.13/d${{ matrix.nshares }}/sbox
138+ - run : sudo apt-get install -y
139+ - run : wget -qO- https://astral.sh/uv/install.sh | sh
135140 - run : mkdir -p ${{ github.workspace }}/verif-tools
136- - run : (curl -L https://github.com/simple-crypto/hw-devtools/releases/download/v241002-5 /hw-devtools.tar.gz | tar xz; sudo apt install ./hw-devtools/*.deb)
137- - run : (cd ${{ github.workspace }}/verif-tools; curl -L https://github.com/chipsalliance/verible/releases/download/v0.0-3831-g32b2456e /verible-v0.0-3831-g32b2456e -linux-static-x86_64.tar.gz | tar xz;)
138- - run : make lint VERIBLE=${{ github.workspace }}/verif-tools/verible-v0.0-3831-g32b2456e /bin/verible-verilog-lint
141+ - run : (curl -L https://github.com/simple-crypto/hw-devtools/releases/download/v261506 /hw-devtools.tar.gz | tar xz; sudo apt install ./hw-devtools/*.deb)
142+ - run : (cd ${{ github.workspace }}/verif-tools; curl -L https://github.com/chipsalliance/verible/releases/download/v0.0-4071-g8d9f2c97 /verible-v0.0-4071-g8d9f2c97 -linux-static-x86_64.tar.gz | tar xz;)
143+ - run : make lint VERIBLE=${{ github.workspace }}/verif-tools/verible-v0.0-4071-g8d9f2c97 /bin/verible-verilog-lint
139144
140145 release :
141146 needs : [build_latex, functest, formal_verif_matchi, lint]
142147 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
143148 runs-on : ubuntu-latest
144149 steps :
145- - uses : actions/download-artifact@v4
150+ - uses : actions/download-artifact@v7
146151 with :
147152 name : docs
148153 path : release
0 commit comments