ah well
This commit is contained in:
59
.github/workflows/build.yml
vendored
59
.github/workflows/build.yml
vendored
@@ -1,33 +1,42 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: Linux
|
- name: Linux
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
platform: linux
|
platform: linux
|
||||||
- name: Windows
|
- name: Windows
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
platform: win
|
platform: win
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Project
|
- name: Checkout Project
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: "recursive"
|
||||||
|
|
||||||
|
- name: CMake Configure
|
||||||
|
run: |
|
||||||
|
mkdir build
|
||||||
|
cmake -S . -B ./build
|
||||||
|
|
||||||
|
- name: Linux Build
|
||||||
|
if: matrix.platform == 'linux'
|
||||||
|
run: make -C build
|
||||||
|
|
||||||
|
- name: Windows Build
|
||||||
|
if: matrix.platform == 'win'
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
msbuild snivy.vcxproj
|
||||||
|
|
||||||
- name: CMake
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
cmake --build .
|
|
||||||
Reference in New Issue
Block a user