Skip to content

Quoted variables

Quoted variables #237

Workflow file for this run

name: Routine Exam
on: [push, pull_request]
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install -y libgtest-dev libfmt-dev libspdlog-dev
&& cd /usr/src/gtest
&& CXX=g++-10 sudo cmake CMakeLists.txt
&& sudo make -j
&& 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@v2
- name: Configure project
run: mkdir build
&& cd build
&& CXX=g++-10 cmake ..
- name: Build project
run: cd build
&& make -j run_tests
- name: Run tests
run: ./build/bin/run_tests