Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin committed Dec 6, 2024
1 parent 86d2181 commit aab3455
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
run: |
sudo apt update
sudo apt install -y build-essential cmake g++ libgtest-dev
# Manually build and install Google Test
# Build Google Test from source
cd /usr/src/googletest
sudo cmake .
sudo cmake -DBUILD_SHARED_LIBS=ON .
sudo make
# Install headers and built libraries
sudo cp -r googletest/include/gtest /usr/local/include
sudo cp googletest/lib/*.a /usr/local/lib
sudo cp googlemock/lib/*.a /usr/local/lib
sudo cp -r googlemock/include/gmock /usr/local/include
sudo cp googletest/*.a /usr/local/lib
sudo cp googlemock/*.a /usr/local/lib
# Step 3: Build and Run Tests
- name: Build and run tests
Expand Down

0 comments on commit aab3455

Please sign in to comment.