Skip to content

Commit 59a5c76

Browse files
committed
Fix for run-make tests
1 parent 3812cf4 commit 59a5c76

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ permissions:
1212
env:
1313
# Enable backtraces for easier debugging
1414
RUST_BACKTRACE: 1
15+
# For the run-make tests.
16+
LLVM_BIN_DIR: /usr/bin
1517

1618
jobs:
1719
build:
@@ -48,7 +50,9 @@ jobs:
4850

4951
- name: Install packages
5052
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
51-
run: sudo apt-get install ninja-build ripgrep llvm-14-tools
53+
run: sudo apt-get install ninja-build ripgrep llvm-14-tools llvm libstdc++-11-dev
54+
55+
- run: which llvm-ar
5256

5357
- name: Install rustfmt & clippy
5458
run: rustup component add rustfmt clippy

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ permissions:
1212
env:
1313
# Enable backtraces for easier debugging
1414
RUST_BACKTRACE: 1
15+
# For the run-make tests.
16+
LLVM_BIN_DIR: /usr/bin
1517

1618
jobs:
1719
build:
@@ -36,7 +38,7 @@ jobs:
3638
uses: Swatinem/rust-cache@v2
3739

3840
- name: Install packages
39-
run: sudo apt-get install ninja-build ripgrep
41+
run: sudo apt-get install ninja-build ripgrep llvm libstdc++-11-dev
4042

4143
- name: Download artifact
4244
run: curl -LO https://github.com/rust-lang/gcc/releases/latest/download/gcc-15.deb
@@ -49,8 +51,6 @@ jobs:
4951
- name: Set env
5052
run: |
5153
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
52-
53-
5454
5555
- name: Build
5656
run: |

0 commit comments

Comments
 (0)