Skip to content

No minmax fix

No minmax fix #17

Workflow file for this run

name: CMake Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake build-essential zlib1g-dev
- name: Checkout GTest
run: |
git clone https://github.com/google/googletest.git
cd googletest
git checkout release-1.11.0
mkdir build
cd build
cmake ..
make
sudo make install
- name: Create build directory
run: mkdir -p build
- name: Configure CMake
run: cmake -B build -DBUILD_TESTS=ON
- name: Build project
run: cmake --build build