Skip to content

Commit 64543e9

Browse files
authored
Fix CI (#8)
* Fix download link and types.txt in build-instructions.sh * Add criu installation to regression-tests.yml
1 parent cb845c1 commit 64543e9

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/regression-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v6
14-
- run: ./test.sh
14+
15+
- name: Install CRIU
16+
run: |
17+
sudo add-apt-repository -y ppa:criu/ppa
18+
sudo apt-get update
19+
sudo apt-get install -y criu
20+
21+
- name: Verify CRIU installation
22+
run: sudo criu check
23+
24+
- run: ./test.sh

build-instructions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -euo pipefail
33

44
# Get the 64-bit CakeML compiler from here:
5-
#curl -OL https://cakeml.org/regression/artefacts/3149/cake-x64-64.tar.gz
5+
curl -OL https://cakeml.org/regression/artefacts/3276/cake-x64-64.tar.gz
66
tar xvzf cake-x64-64.tar.gz
77

88
# By default, the CakeML compiler reserves a few kilobytes for constants and
@@ -18,7 +18,7 @@ cd cake-x64-64 && make && cd ..
1818
cp cake-x64-64/cake cake-x64-64/config_enc_str.txt cake-x64-64/candle_boot.ml .
1919

2020
# Create the types.txt file necessary for candle_insulate.py
21-
./cake --types < /dev/null
21+
./cake --types < /dev/null > types.txt 2>&1
2222

2323
# Generate candle_insulate.ml
2424
python candle_insulate.py types.txt candle_insulate.ml

0 commit comments

Comments
 (0)