remove submodules from lib #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows Release Build | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
BUILD_PATH: out | |
BUILD_TYPE: release | |
BUILD_PLATFORM: windows | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 360 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
arch: [x64, x86] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: lukka/get-cmake@latest | |
# - name: Initialize CodeQL | |
# uses: github/codeql-action/init@v3 | |
# with: | |
# languages: "c" | |
- name: Configure CMake | |
run: cmake -S . -B ${{env.BUILD_PATH}} --preset=${{matrix.arch}}-${{env.BUILD_TYPE}}-${{env.BUILD_PLATFORM}} | |
- name: Build Project | |
run: cmake --build ${{env.BUILD_PATH}} --config ${{env.BUILD_TYPE}} --target wispy | |
# - name: Perform CodeQL Analysis | |
# uses: github/codeql-action/analyze@v3 | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: wipsy-${{env.BUILD_PLATFORM}}-${{matrix.arch}} | |
path: ./${{env.BUILD_PATH}}/Release/wispy.exe | |