Skip to content

#5 29.2 Implementing Textures #82

#5 29.2 Implementing Textures

#5 29.2 Implementing Textures #82

Workflow file for this run

# https://github.com/bastianhjaeger/github_actions_gtest_example
name: GoogleTest
on:
push:
branches: [ master ]
paths:
- 'src/**'
- 'test/**'
pull_request:
branches: [ master ]
paths:
- 'src/**'
- 'test/**'
jobs:
build:
if: "!contains(github.event.commits[0].message, '#skipgoogletest')"
runs-on: ubuntu-latest
steps:
- name: Install manually
run: sudo apt-get install libgtest-dev && cd /usr/src/googletest && 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
- uses: actions/checkout@v1
- name: configure
run: mkdir build && cd build && cmake ..
- name: make
run: cd build && make
- name: Run Test
run: /home/runner/work/raytracing-from-the-ground-up/raytracing-from-the-ground-up/build/test/runTest