mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-20 21:44:29 +08:00
Workflow wip...
This commit is contained in:
parent
495457726f
commit
19f301992b
10
.github/workflows/build_cmake.yml
vendored
10
.github/workflows/build_cmake.yml
vendored
@ -31,12 +31,16 @@ jobs:
|
|||||||
build_type: Release
|
build_type: Release
|
||||||
packages: ninja
|
packages: ninja
|
||||||
generator: "Visual Studio 16 2019"
|
generator: "Visual Studio 16 2019"
|
||||||
|
cc: cl
|
||||||
|
cxx: cl
|
||||||
|
|
||||||
- name: "macOS 10.15 AppleClang"
|
- name: "macOS 10.15 AppleClang"
|
||||||
os: windows-latest
|
os: macos-10.15
|
||||||
build_type: Release
|
build_type: Release
|
||||||
packages: ninja
|
packages: ninja
|
||||||
generator: Ninja
|
generator: Ninja
|
||||||
|
cc: clang
|
||||||
|
cxx: clang++
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -64,6 +68,8 @@ jobs:
|
|||||||
- name: Configure project
|
- name: Configure project
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
export CC=${{ matrix.config.cc }}
|
||||||
|
export CXX=${{ matrix.config.cxx }}
|
||||||
ninja --version
|
ninja --version
|
||||||
cmake --version
|
cmake --version
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -75,4 +81,4 @@ jobs:
|
|||||||
run: cmake --build build --config ${{ matrix.config.build_type }}
|
run: cmake --build build --config ${{ matrix.config.build_type }}
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cd build && ctest
|
run: cd build && ctest -C ${{ matrix.config.build_type }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user