Skip to content

Commit

Permalink
Update makefile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
herrera-diego authored Oct 1, 2021
1 parent 8e2ede1 commit b0ac97f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,24 @@ jobs:
runs-on: ubuntu-latest

steps:


- name: Install gtest manually
run: |
sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake CMakeLists.txt && sudo make
sudo cp *.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@v2

- name: Build
run: |
cd code
make all
- name: Build tests
run: make tests
run: |
cd code
make test
- name: Execute tests
run: ./bin/unittest
run: |
cd code
./bin/unittest

0 comments on commit b0ac97f

Please sign in to comment.