mirror of
https://github.com/ModOrganizer2/modorganizer-esptk.git
synced 2026-07-27 14:03:02 -07:00
31 lines
665 B
YAML
31 lines
665 B
YAML
name: Build ESPTK
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-2022
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Configure ESPTK build
|
|
shell: pwsh
|
|
run: |
|
|
cmake --preset vs2022-windows "-DCMAKE_INSTALL_PREFIX=install"
|
|
|
|
- name: Build ESPTK
|
|
run: cmake --build vsbuild --config RelWithDebInfo
|
|
|
|
- name: Install ESPTK
|
|
run: cmake --install vsbuild --config RelWithDebInfo
|
|
|
|
- name: Upload ESPTK artifact
|
|
uses: actions/upload-artifact@master
|
|
with:
|
|
name: esptk
|
|
path: ./install
|