mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-21 02:34:23 +08:00
workflow wip
This commit is contained in:
parent
fde42cd4a5
commit
495457726f
7
.github/workflows/build_cmake.yml
vendored
7
.github/workflows/build_cmake.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: CMake Build Matrix
|
name: CMake Build Matrix
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [ push, pull_request ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -10,8 +10,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
|
- name: "Ubuntu latest GCC 9.3"
|
||||||
- name: "Ubuntu latest GCC 9.3",
|
|
||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
build_type: Release
|
build_type: Release
|
||||||
packages: ninja-build
|
packages: ninja-build
|
||||||
@ -70,7 +69,7 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
mkdir install
|
mkdir install
|
||||||
cmake -G "${{ matrix.config.generator }}" -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_INSTALL_PREFIX:PATH=install
|
cmake -G "${{ matrix.config.generator }}" -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_INSTALL_PREFIX:PATH=install
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build --config ${{ matrix.config.build_type }}
|
run: cmake --build build --config ${{ matrix.config.build_type }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user