Skip to content

millhiore bt

millhiore bt #40

Workflow file for this run

name: Unit tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@v3
- name: Get latest CMake
# Using 'latest' branch, the latest CMake is installed.
uses: lukka/get-cmake@latest
- name: Install dependencies
run: >
sudo apt update -q &&
sudo apt install -yq git build-essential lua5.4 libmysqlclient-dev
libboost-system-dev libboost-iostreams-dev libboost-test-dev
libpugixml-dev libcrypto++-dev libfmt-dev
- name: Build with CMake
uses: lukka/run-cmake@v10
with:
buildPreset: default
configurePreset: default
configurePresetAdditionalArgs: "['-G Ninja', '-DENABLE_TESTING=ON']"
testPreset: default