mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-26 18:42:13 -04:00
e2cf6ecbb4
* try x86 * ci: uniform build-linux-release-docker and their x86 * Update main.yml * fix animation Co-Authored-By: Alessio Tosto <rinnegatamante@gmail.com> * add explanation * add windows 32 in release * Update windows-compile.yml * fix windows compilation * fix win32 windows * Update libultraship --------- Co-authored-by: Alessio Tosto <rinnegatamante@gmail.com>
30 lines
822 B
YAML
30 lines
822 B
YAML
name: Windows Validation
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ "*" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-2022
|
|
strategy:
|
|
matrix:
|
|
config: [Release, Debug]
|
|
arch: [x64, Win32]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
submodules: recursive
|
|
- name: Build
|
|
run: |
|
|
cmake -S . -B "build/x64" -G "Visual Studio 17 2022" -T v143 -A ${{ matrix.arch }} -DCMAKE_BUILD_TYPE=${{ matrix.config }}
|
|
cmake --build ./build/x64 --config ${{ matrix.config }} --parallel 10
|
|
- name: Upload build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: spaghetti-windows-${{ matrix.arch }}-${{ matrix.config }}
|
|
path: ./build/x64/${{ matrix.config }}
|
|
retention-days: 1
|