Skip to content

Session: fixed missing #niclude <direct.h> #1015

Session: fixed missing #niclude <direct.h>

Session: fixed missing #niclude <direct.h> #1015

Workflow file for this run

name: Build-windows
on:
push:
pull_request:
workflow_dispatch:
env:
VULKAN_SDK_VERSION: 1.3.275.0
jobs:
Windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
strategy:
matrix:
include:
- { sys: mingw64, env: x86_64 }
- { sys: ucrt64, env: ucrt-x86_64 }
- { sys: clang64, env: clang-x86_64 }
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: msys2/setup-msys2@v2
with:
update: true
msystem: ${{matrix.sys}}
install: >-
git
wget
pacboy: >-
cmake:p
toolchain:p
libsigc++:p
cairomm:p
yaml-cpp:p
glfw:p
catch:p
vulkan-headers:p
vulkan-loader:p
shaderc:p
glslang:p
spirv-tools:p
ffts:p
- name: Build
run: |
mkdir build
cd build
cmake .. -GNinja
ninja
- name: Test
if: ${{ false }}
shell: msys2 {0}
run: |
ninja test
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: glscopeclient-build-windows-${{ runner.os }}-${{ matrix.env }}-${{ github.job }}
path: build
# - name: Upload Artifacts
# uses: actions/upload-artifact@v4
# with:
# name: glscopeclient-windows-${{ runner.os }}-${{ github.job }}
# path: msys2/*.zst
# - name: Upload Artifacts (ngscopeclient portable zip)
# uses: actions/upload-artifact@v4
# with:
# name: ngscopeclient-windows-portable-${{ runner.os }}-${{ github.job }}
# path: build/dist/ngscopeclient*.zip
# - name: Upload Artifacts (ngscopeclient MSI)
# uses: actions/upload-artifact@v4
# with:
# name: ngscopeclient-${{ runner.os }}-${{ github.job }}.msi
# path: build/dist/ngscopeclient*.msi