Skip to content

FilterGraphEditor: initial work on fancy icons for graph editor inclu… #514

FilterGraphEditor: initial work on fancy icons for graph editor inclu…

FilterGraphEditor: initial work on fancy icons for graph editor inclu… #514

Workflow file for this run

name: Build-windows
on:
push:
pull_request:
workflow_dispatch:
env:
VULKAN_SDK_VERSION: 1.3.250.1
jobs:
Windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- run: git config --global core.autocrlf input
shell: bash
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- uses: msys2/setup-msys2@v2
with:
update: true
msystem: MINGW64
install: |
git
wget
mingw-w64-x86_64-cmake
mingw-w64-x86_64-toolchain
- name: Cache glslang
id: cache-glslang
uses: actions/cache@v3
with:
path: D:/a/_temp/msys64/home/runneradmin/glslang
key: ${{ runner.os }}-glslang-${{ env.VULKAN_SDK_VERSION }}
- name: Build glslang tags/sdk-${{ env.VULKAN_SDK_VERSION }}
if: steps.cache-glslang.outputs.cache-hit != 'true'
run: |
# Windows mingw64 glslang build (as it is not fully integrated in VulkanSDK for Windows)
cd ~
git clone https://github.com/KhronosGroup/glslang.git
cd glslang
git checkout tags/sdk-${{ env.VULKAN_SDK_VERSION }}
git clone https://github.com/google/googletest.git External/googletest
cd External/googletest
git checkout 0c400f67fcf305869c5fb113dd296eca266c9725
cd ../..
./update_glslang_sources.py
SOURCE_DIR=~/glslang
BUILD_DIR=$SOURCE_DIR/build
mkdir -p $BUILD_DIR
cd $BUILD_DIR
cmake -DCMAKE_BUILD_TYPE=Release -G"MinGW Makefiles" $SOURCE_DIR -DCMAKE_INSTALL_PREFIX="$(pwd)/install"
cmake --build . --config Release --target install
- name: Install Vulkan SDK
run: |
wget https://sdk.lunarg.com/sdk/download/${{ env.VULKAN_SDK_VERSION }}/windows/VulkanSDK-${{ env.VULKAN_SDK_VERSION }}-Installer.exe
./VulkanSDK-${{ env.VULKAN_SDK_VERSION }}-Installer.exe --accept-licenses --default-answer --confirm-command install
echo "/c/VulkanSDK/${{ env.VULKAN_SDK_VERSION }}/Bin" >> $GITHUB_PATH
rm -f VulkanSDK-${{ env.VULKAN_SDK_VERSION }}-Installer.exe
- name: Setup Paths and Env for all steps
run: |
rm -f ~/.bash_profile
echo "PATH=/c/VulkanSDK/${{ env.VULKAN_SDK_VERSION }}/Bin:\$PATH" >> ~/.bash_profile
echo "export VK_SDK_PATH=/c/VulkanSDK/${{ env.VULKAN_SDK_VERSION }}" >> ~/.bash_profile
echo "export VULKAN_SDK=/c/VulkanSDK/${{ env.VULKAN_SDK_VERSION }}" >> ~/.bash_profile
echo "export GLSLANG_BUILD_PATH=~/glslang/build/install" >> ~/.bash_profile
- name: Build
run: |
cd msys2
MINGW_ARCH=mingw64 makepkg-mingw --noconfirm --noprogressbar -sCLf
- name: Test
shell: msys2 {0}
run: |
pacman -U --noconfirm msys2/*.zst
glscopeclient --help
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: glscopeclient-windows
path: msys2/*.zst
- name: Upload Artifacts (glscopeclient portable zip)
uses: actions/upload-artifact@v3
with:
name: glscopeclient-windows-portable
path: build/dist/glscopeclient*.zip
- name: Upload Artifacts (glscopeclient MSI)
uses: actions/upload-artifact@v3
with:
name: glscopeclient-windows.msi
path: build/dist/glscopeclient*.msi
- name: Upload Artifacts (ngscopeclient portable zip)
uses: actions/upload-artifact@v3
with:
name: ngscopeclient-windows-portable
path: build/dist/ngscopeclient*.zip
- name: Upload Artifacts (ngscopeclient MSI)
uses: actions/upload-artifact@v3
with:
name: ngscopeclient-windows.msi
path: build/dist/ngscopeclient*.msi