Skip to content

Merge pull request #2 from qnzhou/main #37

Merge pull request #2 from qnzhou/main

Merge pull request #2 from qnzhou/main #37

Workflow file for this run

name: build
on: [push]
jobs:
build-unix:
strategy:
matrix:
os: [ubuntu, macos]
compiler: [g++, clang++]
defines: [standard]
exclude:
- os: macos
compiler: g++
name: ${{matrix.os}} ${{matrix.compiler}}
runs-on: ${{matrix.os}}-latest
steps:
- uses: actions/checkout@v1
- name: Update submodules
run: git submodule update --init --recursive
- name: CMake Configure
run: mkdir build && cd build && cmake ..
- name: Build
run: cd build && cmake --build . --config Debug
- name: Run unit tests
run: cd build && ./SlotMapTest --gtest_filter=-SlotMapTest.*_Slow
build-windows:
runs-on: windows-latest
strategy:
matrix:
arch: [Win32, x64]
defines: [standard]
steps:
- uses: actions/checkout@v1
- name: Update submodules
run: git submodule update --init --recursive
- name: CMake Configure
run: mkdir build && cd build && cmake ..
- name: Build
run: cd build && cmake --build . --config Release
- name: Run unit tests
run: "build/Release/SlotMapTest.exe --gtest_filter=-SlotMapTest.*_Slow"