mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
parent
eb89a34d66
commit
07a40ef0f9
1 changed files with 21 additions and 0 deletions
21
.github/workflows/cmake.yml
vendored
Normal file
21
.github/workflows/cmake.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
name: CMake
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
cmake-build:
|
||||||
|
name: CMake ${{ matrix.os }} ${{ matrix.build_type }}
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||||
|
build_type: ["Debug", "Release"]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Configure CMake
|
||||||
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build ${{github.workspace}}/build --config ${{ matrix.build_type }}
|
Loading…
Reference in a new issue