From 20bc2837e6396a972ef2c7f3eb15b87ef0c26a3b Mon Sep 17 00:00:00 2001 From: Mark Suckerberg Date: Tue, 30 Dec 2025 14:37:26 -0600 Subject: [PATCH] ah well --- .github/workflows/build.yml | 59 +++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0291b7b..216bb53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,33 +1,42 @@ name: Build on: - push: + push: jobs: - build: - name: ${{ matrix.name }} - runs-on: ${{ matrix.os }} + build: + name: ${{ matrix.name }} + runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - - name: Linux - os: ubuntu-latest - platform: linux - - name: Windows - os: windows-latest - platform: win + strategy: + fail-fast: false + matrix: + include: + - name: Linux + os: ubuntu-latest + platform: linux + - name: Windows + os: windows-latest + platform: win - steps: - - name: Checkout Project - uses: actions/checkout@v6 - with: - submodules: 'recursive' + steps: + - name: Checkout Project + uses: actions/checkout@v6 + with: + 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 . \ No newline at end of file