Skip to content

Merge pull request #6 from ittiam-systems/warn #11

Merge pull request #6 from ittiam-systems/warn

Merge pull request #6 from ittiam-systems/warn #11

Workflow file for this run

name: CMake
on:
push:
pull_request:
env:
BUILD_TYPE: Release
jobs:
build:
strategy:
matrix:
include:
- name: ubuntu-latest-gcc-cmake
os: ubuntu-latest
cc: gcc
cxx: g++
build-system: cmake
- name: ubuntu-latest-clang-cmake
os: ubuntu-latest
cc: clang
cxx: clang++
build-system: cmake
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/out -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
- name: Build
run: cmake --build ${{github.workspace}}/out --config ${{env.BUILD_TYPE}}