File tree Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,11 @@ jobs:
22
22
python-version : ${{ matrix.python-version }}
23
23
cache : ' pip'
24
24
25
- - name : Cache apt packages
26
- uses : actions/cache@v3
27
- with :
28
- path : /var/cache/apt
29
- key : ${{ runner.os }}-apt-${{ hashFiles('.github/workflows/ci.yml') }}
30
- restore-keys : |
31
- ${{ runner.os }}-apt-
32
-
33
25
- name : Install system dependencies
34
26
run : |
35
27
sudo apt-get update
36
- sudo apt-get install -y minisat creduce libllvm18 llvm-18-dev llvm-18
28
+ sudo apt-get install -y minisat libllvm18 llvm-18-dev llvm-18
29
+ ./scripts/install-creduce.sh
37
30
38
31
- name : Cache pip dependencies
39
32
uses : actions/cache@v3
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ if [ -e /usr/libexec/clang_delta ] && /usr/libexec/clang_delta --help ; then
4
+
5
+ echo " CReduce already installed and working"
6
+
7
+ else
8
+
9
+ set -e -u -x
10
+
11
+ cd $( mktemp -d)
12
+ git clone https://github.com/csmith-project/creduce.git
13
+ cd creduce
14
+ ./configure
15
+ make
16
+ sudo make install
17
+
18
+ fi
You can’t perform that action at this time.
0 commit comments