Skip to content

fix ubuntu build

fix ubuntu build #59

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 Release
- name: Run unit tests
run: cd build && ./smmalloc_test
- name: Run performance tests
run: cd build && ./smmalloc_perf
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/smmalloc_test.exe"
- name: Run performance tests
run: "build/Release/smmalloc_perf.exe"