Skip to content

Commit 88efb1c

Browse files
committed
Use Setup GoogleTest action
Signed-off-by: David Galiffi <[email protected]>
1 parent 6a786ff commit 88efb1c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build_tutorials.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ jobs:
3030
apt-get update -qq &&
3131
apt-get install -y build-essential g++ glslang-tools \
3232
python3 python3-pip libglfw3-dev libvulkan-dev locales wget cmake
33+
34+
- name: Install gtest manually
35+
run: apt-get install libgtest-dev && \
36+
cd /usr/src/gtest && \
37+
cmake . && cmake --build .&& \
38+
cp lib/*.a /usr/lib && \
39+
ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && \
40+
ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
41+
3342
- name: Install ROCm Dev
3443
run: |
3544
export DEBIAN_FRONTEND=noninteractive
@@ -47,6 +56,7 @@ jobs:
4756
rocthrust-dev
4857
rm -rf /var/lib/apt/lists/*
4958
apt-get autoclean
59+
5060
- name: Configure and Build
5161
shell: bash
5262
run: |

0 commit comments

Comments
 (0)