Skip to content

tests/main: purge undefined reference {net,server}_runall #8

tests/main: purge undefined reference {net,server}_runall

tests/main: purge undefined reference {net,server}_runall #8

Workflow file for this run

name: unit tests
on:
push:
branches: [ master, 103-github-actions-for-google-test ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev
- name: Hack install and configure gtest
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
- uses: actions/checkout@v3
with:
submodules: true
- name: configure
run: mkdir build && cd build && cmake ../
- name: make testempires
run: cd build && make testempires; find . -type d
- name: run
run: ./test/testempires