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 a8ba9aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ 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: sudo apt-get install libgtest-dev && cd /usr/src/gtest && \
sudo cmake CMakeLists.txt && sudo make && sudo cp lib/*.a /usr/lib && \
sudo ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && \
sudo 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 +54,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 a8ba9aa

Please sign in to comment.