Skip to content

Commit

Permalink
Use Setup GoogleTest action
Browse files Browse the repository at this point in the history
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
  • Loading branch information
dgaliffiAMD committed Aug 27, 2024
1 parent 6a786ff commit c11d50e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,6 +56,7 @@ jobs:
rocthrust-dev
rm -rf /var/lib/apt/lists/*
apt-get autoclean
- name: Configure and Build
shell: bash
run: |
Expand Down

0 comments on commit c11d50e

Please sign in to comment.