Skip to content

Commit f15d069

Browse files
joennlaemicprog
authored andcommitted
ci: update slang install for ci
1 parent e69648d commit f15d069

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@ jobs:
5656
- name: Install bender
5757
run: cargo install bender
5858
- name: Install slang
59-
run: mkdir -p $HOME/tools/slang && chmod 777 $HOME/tools/slang && \
60-
cd $HOME/tools/slang && git clone https://github.com/MikePopoloski/slang.git && \
61-
cd slang && git checkout v2.0 && \
62-
cmake -B build && cmake --build build -j$(nproc) && \
63-
cmake --install build --strip
59+
run: |
60+
sudo mkdir -p /tools && sudo chmod 777 /tools
61+
cd /tools && git clone https://github.com/MikePopoloski/slang.git && cd slang && git checkout v2.0
62+
echo $PWD
63+
cmake -B build && cmake --build build -j$(nproc)
64+
cmake --install build --strip
6465
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
6566
- name: Build
6667
run: cargo build --verbose

0 commit comments

Comments
 (0)