Update c-cpp.yml

This commit is contained in:
Serge Lamikhov-Center 2022-08-31 20:00:20 +03:00 committed by GitHub
parent 156cac5fa1
commit 3e8c0c8002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,13 +6,13 @@ on:
pull_request:
branches: [ master ]
env:
BUILD_TYPE: Release
jobs:
build_cmake:
name: CMake Build & Test
env:
BUILD_TYPE: Release
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
@ -21,7 +21,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DELFIO_BUILD_EXAMPLES=YES -DELFIO_BUILD_TESTS=YES
- name: Build