From c11d50ea6d9768b809f9ffb25dfc121aa6509467 Mon Sep 17 00:00:00 2001 From: David Galiffi Date: Tue, 27 Aug 2024 17:20:07 -0400 Subject: [PATCH] Use Setup GoogleTest action Signed-off-by: David Galiffi --- .github/workflows/build_tutorials.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build_tutorials.yml b/.github/workflows/build_tutorials.yml index 8aa24f7f..8f4db956 100644 --- a/.github/workflows/build_tutorials.yml +++ b/.github/workflows/build_tutorials.yml @@ -30,6 +30,15 @@ jobs: apt-get update -qq && apt-get install -y build-essential g++ glslang-tools \ python3 python3-pip libglfw3-dev libvulkan-dev locales wget cmake + + - name: Install gtest manually + run: apt-get install -y libgtest-dev && + cd /usr/src/gtest && + cmake . && cmake --build . && + cp lib/*.a /usr/lib && + ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && + ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a + - name: Install ROCm Dev run: | export DEBIAN_FRONTEND=noninteractive @@ -47,6 +56,7 @@ jobs: rocthrust-dev rm -rf /var/lib/apt/lists/* apt-get autoclean + - name: Configure and Build shell: bash run: |