2022-06-22 02:49:31 +02:00
|
|
|
name: Build and upload artifact
|
|
|
|
|
2024-11-27 21:07:17 +01:00
|
|
|
on: [push, pull_request]
|
2022-06-22 02:49:31 +02:00
|
|
|
|
|
|
|
jobs:
|
2024-11-27 21:07:17 +01:00
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Set up MSVC
|
|
|
|
uses: ilammy/msvc-dev-cmd@v1
|
|
|
|
- name: Configure CMake
|
|
|
|
run: cmake -B build -S . -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- name: Build
|
|
|
|
run: cmake --build build --config Release --target bnusio
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: TaikoArcadeLoader
|
|
|
|
path: dist/
|
|
|
|
compression-level: 9
|