Skip to content

Commit 54d961e

Browse files
committed
CI updates
* LLVM to 21 and added iverilog * Use Ubuntu 24.04 * Ubuntu 24.04's libwxgtk * Dump logs after a failed compile+test
1 parent ba89d81 commit 54d961e

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515

1616
env:
17-
LLVM_VERSION: 17
17+
LLVM_VERSION: 21
1818

1919
steps:
2020
- name: Checkout code
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
sudo apt-get update
4444
sudo apt-get install -y \
45-
libwxgtk3.0-gtk3-dev \
45+
libwxgtk3.2-dev \
4646
libboost-all-dev \
4747
tcl8.6-dev \
4848
libedit-dev \
@@ -61,7 +61,7 @@ jobs:
6161
cmake \
6262
graphviz \
6363
bc \
64-
ghdl \
64+
ghdl iverilog \
6565
python3 ninja-build pkg-config libglib2.0-dev \
6666
libpixman-1-dev libslirp-dev flex bison file device-tree-compiler \
6767
zlib1g-dev libfdt-dev python3-tomli \
@@ -110,8 +110,23 @@ jobs:
110110
run: |
111111
cd openasip
112112
python3 ./tools/scripts/install_qemu.py $HOME/qemu-openasip
113-
113+
114114
- name: Run tests
115115
run: |
116116
cd openasip
117117
./tools/scripts/compiletest.sh -c
118+
119+
- name: Dump logs
120+
run: |
121+
cd openasip
122+
if [ -f compiletest.error.log ]; then
123+
echo "compiletest.error.log:"
124+
cat compiletest.error.log
125+
fi
126+
if [ -f systemtest/differences.txt ]; then
127+
echo "systemtest/differences.txt"
128+
cat systemtest/differences.txt
129+
fi
130+
if [ -f systemtest_long/differences.txt ]; then
131+
cat systemtest_long/differences.txt
132+
fi

0 commit comments

Comments
 (0)