Skip to content

Commit 75ff214

Browse files
committed
gh: try running script again
1 parent 5c0d1e4 commit 75ff214

File tree

1 file changed

+47
-33
lines changed

1 file changed

+47
-33
lines changed

.github/workflows/temp.yml

+47-33
Original file line numberDiff line numberDiff line change
@@ -89,36 +89,50 @@ jobs:
8989
ghcr.io/trailofbits/vast-ubuntu-${{ matrix.image-version }}-llvm-${{ matrix.llvm-version }}-dev:latest
9090

9191
steps:
92-
- name: Fetch VAST artifact
93-
uses: actions/download-artifact@v4
94-
with:
95-
name: VAST
96-
97-
- name: Unpack VAST
98-
run: mkdir vast && tar -xf VAST-* -C vast --strip-components=1
99-
100-
- name: Export vast binaries
101-
run: echo "${PWD}/vast/bin/" >> $GITHUB_PATH
102-
103-
- name: Install benchmark dependencies
104-
# Not sure which exact clang or LLVM packages are necessary
105-
run: |
106-
apt-get update
107-
apt-get -y install git fakeroot build-essential \
108-
ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison \
109-
bear \
110-
clang-18 clang-tools-18 \
111-
lld-18 \
112-
llvm-18 llvm-18-tools llvm-18-linker-tools llvm-18-runtime
113-
114-
- name: Clone the Linux kernel and build it to create compilation database
115-
run: |
116-
git clone --depth=1 https://github.com/torvalds/linux.git linux
117-
cd linux
118-
bear -- make defconfig
119-
120-
- name: Print contents of Linux dir
121-
run: |
122-
ls linux
123-
ls ${PWD}/linux
124-
pwd
92+
- name: Fetch VAST artifact
93+
uses: actions/download-artifact@v4
94+
with:
95+
name: VAST
96+
97+
- name: Unpack VAST
98+
run: mkdir vast && tar -xf VAST-* -C vast --strip-components=1
99+
100+
- name: Export vast binaries
101+
run: echo "${PWD}/vast/bin/" >> $GITHUB_PATH
102+
103+
# Not sure which exact clang or LLVM packages are necessary
104+
- name: Install benchmark dependencies
105+
run: |
106+
apt-get update
107+
apt-get -y install git fakeroot build-essential \
108+
ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison \
109+
bear \
110+
clang-18 clang-tools-18 \
111+
lld-18 \
112+
llvm-18 llvm-18-tools llvm-18-linker-tools llvm-18-runtime
113+
114+
- name: Clone the Linux kernel and build it to create compilation database
115+
run: |
116+
git clone --depth=1 https://github.com/torvalds/linux.git linux
117+
cd linux
118+
bear -- make defconfig
119+
120+
- name: Clone vast benchmark directory
121+
uses: actions/checkout@v4
122+
with:
123+
repository: trailofbits/vast-benchmarks
124+
sparse-checkout: benchmarks/linux_kernel
125+
ref: main
126+
path: .
127+
fetch-depth: 1
128+
129+
- name: Run benchmarks
130+
run: >
131+
python3 ${PWD}/benchmarks/linux_kernel/run_vast_benchmark.py
132+
vast-front
133+
${PWD}/linux/compile_commands.json
134+
${PWD}/vast_linux_kernel_mlir_with_unsup/
135+
--num_processes=$(nproc)
136+
--vast_option="-xc"
137+
--vast_option="-vast-emit-mlir=${{ matrix.vast-target }}"
138+
> vast_linux_kernel_times_hl_with_unsup.tsv

0 commit comments

Comments
 (0)