mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-19 11:14:46 +00:00
Simplify CMake build in CI
This commit is contained in:
parent
b6d1a84be0
commit
7ca433cbe2
8
.github/workflows/c-cpp.yml
vendored
8
.github/workflows/c-cpp.yml
vendored
@ -45,11 +45,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Create Build Directory
|
||||
run: cmake -E make_directory ${{ runner.workspace }}/build
|
||||
- name: Configure CMake
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
run: cmake ${{ github.workspace }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DELFIO_BUILD_EXAMPLES=YES
|
||||
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DELFIO_BUILD_EXAMPLES=YES
|
||||
- name: Build
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
run: cmake --build . --config ${{ matrix.build_type }}
|
||||
run: cmake --build build --config ${{ matrix.build_type }}
|
||||
|
Loading…
Reference in New Issue
Block a user