From db1aa7fb26ef6e0c0c3a894d5c088d0aa52c64e5 Mon Sep 17 00:00:00 2001 From: Joe Morton Date: Fri, 13 Sep 2024 22:42:53 +0100 Subject: [PATCH] update --- .../meshoptimizer/.github/workflows/build.yml | 148 ----- Lumos/External/Tracy/.github/FUNDING.yml | 1 - Lumos/External/Tracy/.github/sponsor.png | Bin 1036 -> 0 bytes .../External/Tracy/.github/workflows/gcc.yml | 44 -- .../Tracy/.github/workflows/latex.yml | 28 - .../External/Tracy/.github/workflows/msvc.yml | 72 --- Lumos/External/imgui/.github/FUNDING.yml | 1 - .../External/imgui/.github/issue_template.md | 46 -- .../imgui/.github/pull_request_template.md | 6 - .../imgui/.github/workflows/build.yml | 516 ------------------ .../imgui/.github/workflows/scheduled.yml | 15 - .../.github/workflows/static-analysis.yml | 77 --- .../Plugins/implot/.github/CMakeLists.txt | 95 ---- .../Plugins/implot/.github/example_implot.cpp | 55 -- .../implot/.github/workflows/build.yml | 144 ----- .../vulkan/volk/.github/workflows/build.yml | 52 -- 16 files changed, 1300 deletions(-) delete mode 100644 Lumos/External/ModelLoaders/meshoptimizer/.github/workflows/build.yml delete mode 100644 Lumos/External/Tracy/.github/FUNDING.yml delete mode 100644 Lumos/External/Tracy/.github/sponsor.png delete mode 100644 Lumos/External/Tracy/.github/workflows/gcc.yml delete mode 100644 Lumos/External/Tracy/.github/workflows/latex.yml delete mode 100644 Lumos/External/Tracy/.github/workflows/msvc.yml delete mode 100644 Lumos/External/imgui/.github/FUNDING.yml delete mode 100644 Lumos/External/imgui/.github/issue_template.md delete mode 100644 Lumos/External/imgui/.github/pull_request_template.md delete mode 100644 Lumos/External/imgui/.github/workflows/build.yml delete mode 100644 Lumos/External/imgui/.github/workflows/scheduled.yml delete mode 100644 Lumos/External/imgui/.github/workflows/static-analysis.yml delete mode 100644 Lumos/External/imgui/Plugins/implot/.github/CMakeLists.txt delete mode 100644 Lumos/External/imgui/Plugins/implot/.github/example_implot.cpp delete mode 100644 Lumos/External/imgui/Plugins/implot/.github/workflows/build.yml delete mode 100644 Lumos/External/vulkan/volk/.github/workflows/build.yml diff --git a/Lumos/External/ModelLoaders/meshoptimizer/.github/workflows/build.yml b/Lumos/External/ModelLoaders/meshoptimizer/.github/workflows/build.yml deleted file mode 100644 index 3e747f38c..000000000 --- a/Lumos/External/ModelLoaders/meshoptimizer/.github/workflows/build.yml +++ /dev/null @@ -1,148 +0,0 @@ -name: build - -on: [push, pull_request] - -jobs: - unix: - strategy: - matrix: - os: [ubuntu, macos] - name: ${{matrix.os}} - runs-on: ${{matrix.os}}-latest - steps: - - uses: actions/checkout@v1 - - name: make test - run: | - make -j2 config=sanitize test - make -j2 config=debug test - make -j2 config=release test - make -j2 config=coverage test - - name: make gltfpack - run: | - make -j2 config=release gltfpack - strip gltfpack - - name: upload coverage - run: | - find . -type f -name '*.gcno' -exec gcov -p {} + - sed -i -e "s/#####\(.*\)\(\/\/ unreachable.*\)/ -\1\2/" *.gcov - bash <(curl -s https://codecov.io/bash) -f 'src#*.gcov' -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}} - - uses: actions/upload-artifact@v1 - with: - name: gltfpack-${{matrix.os}} - path: gltfpack - - windows: - runs-on: windows-latest - strategy: - matrix: - arch: [Win32, x64] - steps: - - uses: actions/checkout@v1 - - name: cmake configure - run: cmake . -DMESHOPT_BUILD_DEMO=ON -DMESHOPT_BUILD_GLTFPACK=ON -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$:Debug>" -A ${{matrix.arch}} - - name: cmake test - shell: bash # necessary for fail-fast - run: | - cmake --build . -- -property:Configuration=Debug -verbosity:minimal - Debug/demo.exe demo/pirate.obj - cmake --build . -- -property:Configuration=Release -verbosity:minimal - Release/demo.exe demo/pirate.obj - - uses: actions/upload-artifact@v1 - with: - name: gltfpack-windows - path: Release/gltfpack.exe - if: matrix.arch == 'x64' - - nodejs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: '14.6' - - name: test - run: node js/meshopt_decoder.test.js - - name: test simd - run: node --experimental-wasm-simd js/meshopt_decoder.test.js - - gltfpack: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/checkout@v2 - with: - repository: KhronosGroup/glTF-Sample-Models - path: glTF-Sample-Models - - name: make - run: make -j2 config=sanitize gltfpack - - name: test - run: find glTF-Sample-Models/2.0/ -name *.gltf -or -name *.glb | xargs -d '\n' ./gltfpack -cc -test - - name: pack - run: find glTF-Sample-Models/2.0/ -name *.gltf | grep -v glTF-Draco | xargs -d '\n' -I '{}' ./gltfpack -i '{}' -o '{}pack.gltf' - - name: validate - run: | - curl -sL $VALIDATOR | tar xJ - find glTF-Sample-Models/2.0/ -name *.gltfpack.gltf | xargs -d '\n' -L 1 ./gltf_validator -r -a - env: - VALIDATOR: https://github.com/KhronosGroup/glTF-Validator/releases/download/2.0.0-dev.3.3/gltf_validator-2.0.0-dev.3.3-linux64.tar.xz - - gltfpackjs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: '14.x' - - name: install wasi - run: | - curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$VERSION/wasi-sdk-$VERSION.0-linux.tar.gz | tar xz - curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$VERSION/libclang_rt.builtins-wasm32-wasi-$VERSION.0.tar.gz | tar xz -C wasi-sdk-$VERSION.0 - curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$VERSION/wasi-sysroot-$VERSION.0.tar.gz | tar xz - mv wasi-sdk-$VERSION.0 wasi-sdk - env: - VERSION: 12 - - name: build - run: | - make -B WASMCC=wasi-sdk/bin/clang++ WASI_SDK=./wasi-sysroot gltf/library.wasm - make -B WASMCC=wasi-sdk/bin/clang++ WASI_SDK=./wasi-sysroot js/meshopt_decoder.js js/meshopt_decoder.module.js - - name: test - run: | - node gltf/cli.js -i demo/pirate.obj -o pirate.glb -v - node gltf/cli.js -i `pwd`/pirate.glb -o pirate-repack.glb -cc -v - wc -c pirate.glb pirate-repack.glb - node js/meshopt_decoder.test.js - - name: npm pack - run: cd gltf && npm pack - - uses: actions/upload-artifact@v2 - with: - name: gltfpack-npm - path: gltf/gltfpack-*.tgz - - uses: actions/upload-artifact@v2 - with: - name: meshopt_decoder - path: js/meshopt_decoder*.js - - arm64: - runs-on: ubuntu-latest - steps: - - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset - - uses: docker://multiarch/ubuntu-core:arm64-bionic - with: - args: 'uname -a' - - uses: actions/checkout@v1 - - name: make test - uses: docker://multiarch/ubuntu-core:arm64-bionic - with: - args: 'bash -c "apt-get update && apt-get install -y build-essential && make -j2 config=coverage test"' - - name: upload coverage - run: | - find . -type f -name '*.gcno' -exec gcov -p {} + - sed -i -e "s/#####\(.*\)\(\/\/ unreachable.*\)/ -\1\2/" *.gcov - bash <(curl -s https://codecov.io/bash) -f 'src#*.gcov' -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}} - - iphone: - runs-on: macos-latest - steps: - - uses: actions/checkout@v1 - - name: make - run: make -j2 config=iphone diff --git a/Lumos/External/Tracy/.github/FUNDING.yml b/Lumos/External/Tracy/.github/FUNDING.yml deleted file mode 100644 index 976135c82..000000000 --- a/Lumos/External/Tracy/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: wolfpld diff --git a/Lumos/External/Tracy/.github/sponsor.png b/Lumos/External/Tracy/.github/sponsor.png deleted file mode 100644 index ce689b149a50b86be270cbec5f62732f2c5600f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1036 zcmV+n1oQieP)?DX{ay!7_G^Y***>+|yUyYcn9 z)%W@F>GSdQy4Cji)b{w(_4w)P?B?q1^x^O3=<4&}@3r^&wf6b7_V~2*`19B5^4IF} z*6Q%p>GI9x^UUVi+uZWY=JnW{^w^v9*PHRm<=5HT@XF=$*P7PY+Va+#($v+^)YtLA z-_Fz3&Ck)y&d|%w(96xx%gxWp&Ctut&+)d~%FNI3w%f_f&dAKp@3q^=%g)Ek&Bw~k z#>&mc$<4*d&Be*gl-T*i$jp@2`IOiAlh*k1x0>&&*6*p-^tgKSxOwuodG4Um?Ul^# zl+2X4`R~y{BbiM3zy_J}}>}t8}YPjra zxa(=S>tD0#U$g2|uj*5;OqknDm)hz|sYgp900061NklkIcb}a;#_0nO zu9THV>$UKK$#H}b+I?Wr01R-3Ece#d)|=if@0Poe+@gZ#N!-IvoJCan`jDz?b2N1a)B9JrQ2AGyfU8Irg@6yGuZ!i0TFJ7eRDZhF<{)(Ufo41eJh!WqB-iCZ7HsX1}W(zyHNKcTo zIopm}kRV;8U-o^Q?VUC^KWA%{1N8NpQJhZ2zqHvFx9V(WI>PY3CP-%z!aslqgwz5X zN!P#co7W%H$LyvO&xaLX3E3!#(t+KAF&KAJl0UkV>77WC4xAQ@o9V=VO`mwg&IC+8 zW@i$*Bc8Gn(G9Jc%+fPkA-kDTd_-n*Hb8dkG!xye+3*c&Ohsj&tqN5D0000About Window, and click "Config/Build Information" to obtain a bunch of detailed information that you can paste here)_ - -**Version/Branch of Dear ImGui:** - -Version: XXX -Branch: XXX _(master/viewport/docking/etc.)_ - -**Back-end/Renderer/Compiler/OS** - -Back-ends: imgui_impl_XXX.cpp + imgui_impl_XXX.cpp _(or specify if using a custom engine/back-end)_ -Compiler: XXX _(if the question is related to building or platform specific features)_ -Operating System: XXX - -**My Issue/Question:** - -XXX _(please provide as much context as possible)_ - -**Screenshots/Video** - -XXX _(you can drag files here)_ - -**Standalone, minimal, complete and verifiable example:** _(see https://github.com/ocornut/imgui/issues/2261)_ -``` -// Here's some code anyone can copy and paste to reproduce your issue -ImGui::Begin("Example Bug"); -MoreCodeToExplainMyIssue(); -ImGui::End(); -``` diff --git a/Lumos/External/imgui/.github/pull_request_template.md b/Lumos/External/imgui/.github/pull_request_template.md deleted file mode 100644 index 187d71054..000000000 --- a/Lumos/External/imgui/.github/pull_request_template.md +++ /dev/null @@ -1,6 +0,0 @@ -(Click "Preview" to turn any http URL into a clickable link) - -1. PLEASE CAREFULLY READ: [Issue Submitting Guidelines](https://github.com/ocornut/imgui/issues/2261) - -2. Clear this template before submitting your PR. - diff --git a/Lumos/External/imgui/.github/workflows/build.yml b/Lumos/External/imgui/.github/workflows/build.yml deleted file mode 100644 index f01bff875..000000000 --- a/Lumos/External/imgui/.github/workflows/build.yml +++ /dev/null @@ -1,516 +0,0 @@ -name: build - -on: - push: - pull_request: - workflow_run: - # Use a workflow as a trigger of scheduled builds. Forked repositories can disable scheduled builds by disabling - # "scheduled" workflow, while maintaining ability to perform local CI builds. - workflows: - - scheduled - branches: - - master - - docking - types: - - requested - -jobs: - Windows: - runs-on: windows-2019 - env: - VS_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\ - MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\ - steps: - - uses: actions/checkout@v2 - - - name: Install Dependencies - shell: powershell - run: | - Invoke-WebRequest -Uri "https://www.libsdl.org/release/SDL2-devel-2.0.10-VC.zip" -OutFile "SDL2-devel-2.0.10-VC.zip" - Expand-Archive -Path SDL2-devel-2.0.10-VC.zip - echo "SDL2_DIR=$(pwd)\SDL2-devel-2.0.10-VC\SDL2-2.0.10\" >>${env:GITHUB_ENV} - - Invoke-WebRequest -Uri "https://github.com/ocornut/imgui/files/3789205/vulkan-sdk-1.1.121.2.zip" -OutFile vulkan-sdk-1.1.121.2.zip - Expand-Archive -Path vulkan-sdk-1.1.121.2.zip - echo "VULKAN_SDK=$(pwd)\vulkan-sdk-1.1.121.2\" >>${env:GITHUB_ENV} - - - name: Fix Projects - shell: powershell - run: | - # WARNING: This will need updating if toolset/sdk change in project files! - gci -recurse -filter "*.vcxproj" | ForEach-Object { - # Fix SDK and toolset for most samples. - (Get-Content $_.FullName) -Replace "v110","v142" | Set-Content -Path $_.FullName - (Get-Content $_.FullName) -Replace "8.1","10.0.18362.0" | Set-Content -Path $_.FullName - # Fix SDK and toolset for samples that require newer SDK/toolset. At the moment it is only dx12. - (Get-Content $_.FullName) -Replace "v140","v142" | Set-Content -Path $_.FullName - (Get-Content $_.FullName) -Replace "10.0.14393.0","10.0.18362.0" | Set-Content -Path $_.FullName - } - - # Not using matrix here because it would inflate job count too much. Check out and setup is done for every job and that makes build times way too long. - - name: Build example_null (extra warnings, mingw 64-bit) - run: mingw32-make -C examples/example_null WITH_EXTRA_WARNINGS=1 - - - name: Build example_null (extra warnings, msvc 64-bit) - shell: cmd - run: | - cd examples\example_null - call "%VS_PATH%\VC\Auxiliary\Build\vcvars64.bat" - .\build_win32.bat /W4 - - - name: Build example_null (single file build) - shell: bash - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file.exe example_single_file.cpp -limm32 - - - name: Build example_null (with IMGUI_DISABLE_WIN32_FUNCTIONS) - shell: bash - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_DISABLE_WIN32_FUNCTIONS - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file.exe example_single_file.cpp -limm32 - - - name: Build example_null (as DLL) - shell: cmd - run: | - call "%VS_PATH%\VC\Auxiliary\Build\vcvars64.bat" - - echo #ifdef _EXPORT > example_single_file.cpp - echo # define IMGUI_API __declspec(dllexport) >> example_single_file.cpp - echo #else >> example_single_file.cpp - echo # define IMGUI_API __declspec(dllimport) >> example_single_file.cpp - echo #endif >> example_single_file.cpp - echo #define IMGUI_IMPLEMENTATION >> example_single_file.cpp - echo #include "misc/single_file/imgui_single_file.h" >> example_single_file.cpp - - cl.exe /D_USRDLL /D_WINDLL /D_EXPORT /I. example_single_file.cpp /LD /FeImGui.dll /link - cl.exe /I. ImGui.lib /Feexample_null.exe examples/example_null/main.cpp - - - name: Build Win32 example_glfw_opengl2 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_opengl2/example_glfw_opengl2.vcxproj /p:Platform=Win32 /p:Configuration=Release' - - - name: Build Win32 example_glfw_opengl3 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_opengl3/example_glfw_opengl3.vcxproj /p:Platform=Win32 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build Win32 example_glfw_vulkan - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_vulkan/example_glfw_vulkan.vcxproj /p:Platform=Win32 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build Win32 example_sdl_vulkan - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_vulkan/example_sdl_vulkan.vcxproj /p:Platform=Win32 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build Win32 example_sdl_opengl2 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl2/example_sdl_opengl2.vcxproj /p:Platform=Win32 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build Win32 example_sdl_opengl3 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl3/example_sdl_opengl3.vcxproj /p:Platform=Win32 /p:Configuration=Release' - - - name: Build Win32 example_sdl_directx11 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_directx11/example_sdl_directx11.vcxproj /p:Platform=Win32 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build Win32 example_win32_directx9 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_win32_directx9/example_win32_directx9.vcxproj /p:Platform=Win32 /p:Configuration=Release' - - - name: Build Win32 example_win32_directx10 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_win32_directx10/example_win32_directx10.vcxproj /p:Platform=Win32 /p:Configuration=Release' - - - name: Build Win32 example_win32_directx11 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_win32_directx11/example_win32_directx11.vcxproj /p:Platform=Win32 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_glfw_opengl2 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_opengl2/example_glfw_opengl2.vcxproj /p:Platform=x64 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_glfw_opengl3 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_opengl3/example_glfw_opengl3.vcxproj /p:Platform=x64 /p:Configuration=Release' - - - name: Build x64 example_glfw_vulkan - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_vulkan/example_glfw_vulkan.vcxproj /p:Platform=x64 /p:Configuration=Release' - - - name: Build x64 example_sdl_vulkan - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_vulkan/example_sdl_vulkan.vcxproj /p:Platform=x64 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_sdl_opengl2 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl2/example_sdl_opengl2.vcxproj /p:Platform=x64 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_sdl_opengl3 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl3/example_sdl_opengl3.vcxproj /p:Platform=x64 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_sdl_directx11 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_directx11/example_sdl_directx11.vcxproj /p:Platform=x64 /p:Configuration=Release' - - - name: Build x64 example_win32_directx9 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_win32_directx9/example_win32_directx9.vcxproj /p:Platform=x64 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_win32_directx10 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_win32_directx10/example_win32_directx10.vcxproj /p:Platform=x64 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_win32_directx11 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_win32_directx11/example_win32_directx11.vcxproj /p:Platform=x64 /p:Configuration=Release' - if: github.event_name == 'workflow_run' - - - name: Build x64 example_win32_directx12 - shell: cmd - run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_win32_directx12/example_win32_directx12.vcxproj /p:Platform=x64 /p:Configuration=Release' - - Linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - - - name: Install Dependencies - run: | - sudo apt-get update - sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib libfreetype6-dev libvulkan-dev - - - name: Build example_null (extra warnings, gcc 32-bit) - run: | - make -C examples/example_null clean - CXXFLAGS="$CXXFLAGS -m32 -Werror" make -C examples/example_null WITH_EXTRA_WARNINGS=1 - - - name: Build example_null (extra warnings, gcc 64-bit) - run: | - make -C examples/example_null clean - CXXFLAGS="$CXXFLAGS -m64 -Werror" make -C examples/example_null WITH_EXTRA_WARNINGS=1 - - - name: Build example_null (extra warnings, clang 32-bit) - run: | - make -C examples/example_null clean - CXXFLAGS="$CXXFLAGS -m32 -Werror" CXX=clang++ make -C examples/example_null WITH_EXTRA_WARNINGS=1 - - - name: Build example_null (extra warnings, clang 64-bit) - run: | - make -C examples/example_null clean - CXXFLAGS="$CXXFLAGS -m64 -Werror" CXX=clang++ make -C examples/example_null WITH_EXTRA_WARNINGS=1 - - - name: Build example_null (extra warnings, empty IM_ASSERT) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IM_ASSERT(x) - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -Wextra -Werror -Wno-zero-as-null-pointer-constant -Wno-double-promotion -Wno-variadic-macros -Wno-empty-body -o example_single_file example_single_file.cpp - - - name: Build example_null (freetype) - run: | - make -C examples/example_null clean - make -C examples/example_null WITH_FREETYPE=1 - - - name: Build example_null (single file build) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (with ImWchar32) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_USE_WCHAR32 - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (with large ImDrawIdx + pointer ImTextureID) - run: | - cat > example_single_file.cpp <<'EOF' - - #define ImTextureID void* - #define ImDrawIdx unsigned int - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (with IMGUI_DISABLE_OBSOLETE_FUNCTIONS) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_DISABLE_OBSOLETE_FUNCTIONS - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (with IMGUI_DISABLE_DEMO_WINDOWS and IMGUI_DISABLE_METRICS_WINDOW) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_DISABLE_DEMO_WINDOWS - #define IMGUI_DISABLE_METRICS_WINDOW - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (with IMGUI_DISABLE_FILE_FUNCTIONS) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_DISABLE_FILE_FUNCTIONS - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (with IMGUI_USE_BGRA_PACKED_COLOR) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_USE_BGRA_PACKED_COLOR - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (with IM_VEC2_CLASS_EXTRA and IM_VEC4_CLASS_EXTRA) - run: | - cat > example_single_file.cpp <<'EOF' - - struct MyVec2 { float x; float y; MyVec2(float x, float y) : x(x), y(y) { } }; - struct MyVec4 { float x; float y; float z; float w; - MyVec4(float x, float y, float z, float w) : x(x), y(y), z(z), w(w) { } }; - #define IM_VEC2_CLASS_EXTRA \ - ImVec2(const MyVec2& f) { x = f.x; y = f.y; } \ - operator MyVec2() const { return MyVec2(x, y); } - #define IM_VEC4_CLASS_EXTRA \ - ImVec4(const MyVec4& f) { x = f.x; y = f.y; z = f.z; w = f.w; } \ - operator MyVec4() const { return MyVec4(x, y, z, w); } - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (without c++ runtime, Clang) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_IMPLEMENTATION - #define IMGUI_DISABLE_DEMO_WINDOWS - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - clang++ -I. -Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp - - - name: Build example_glfw_opengl2 - run: make -C examples/example_glfw_opengl2 - - - name: Build example_glfw_opengl3 - run: make -C examples/example_glfw_opengl3 - if: github.event_name == 'workflow_run' - - - name: Build example_sdl_opengl2 - run: make -C examples/example_sdl_opengl2 - if: github.event_name == 'workflow_run' - - - name: Build example_sdl_opengl3 - run: make -C examples/example_sdl_opengl3 - - - name: Build with IMGUI_IMPL_VULKAN_NO_PROTOTYPES - run: g++ -c -I. -DIMGUI_IMPL_VULKAN_NO_PROTOTYPES=1 backends/imgui_impl_vulkan.cpp - - MacOS: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - - name: Install Dependencies - run: | - brew install glfw3 sdl2 - - - name: Build example_null (extra warnings, clang 64-bit) - run: make -C examples/example_null WITH_EXTRA_WARNINGS=1 - - - name: Build example_null (single file build) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - clang++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - - name: Build example_null (without c++ runtime) - run: | - cat > example_single_file.cpp <<'EOF' - - #define IMGUI_IMPLEMENTATION - #include "misc/single_file/imgui_single_file.h" - #include "examples/example_null/main.cpp" - - EOF - clang++ -I. -Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp - - - name: Build example_glfw_opengl2 - run: make -C examples/example_glfw_opengl2 - - - name: Build example_glfw_opengl3 - run: make -C examples/example_glfw_opengl3 - if: github.event_name == 'workflow_run' - - - name: Build example_glfw_metal - run: make -C examples/example_glfw_metal - - - name: Build example_sdl_metal - run: make -C examples/example_sdl_metal - - - name: Build example_sdl_opengl2 - run: make -C examples/example_sdl_opengl2 - if: github.event_name == 'workflow_run' - - - name: Build example_sdl_opengl3 - run: make -C examples/example_sdl_opengl3 - - - name: Build example_apple_metal - run: xcodebuild -project examples/example_apple_metal/example_apple_metal.xcodeproj -target example_apple_metal_macos - - - name: Build example_apple_opengl2 - run: xcodebuild -project examples/example_apple_opengl2/example_apple_opengl2.xcodeproj -target example_osx_opengl2 - - iOS: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - - name: Build example_apple_metal - run: | - # Code signing is required, but we disable it because it is irrelevant for CI builds. - xcodebuild -project examples/example_apple_metal/example_apple_metal.xcodeproj -target example_apple_metal_ios CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO - - Emscripten: - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - - name: Install Dependencies - run: | - wget -q https://github.com/emscripten-core/emsdk/archive/master.tar.gz - tar -xvf master.tar.gz - emsdk-master/emsdk update - emsdk-master/emsdk install latest - emsdk-master/emsdk activate latest - - - name: Build example_emscripten_opengl3 - run: | - pushd emsdk-master - source ./emsdk_env.sh - popd - make -C examples/example_emscripten_opengl3 - - - name: Build example_emscripten_wgpu - run: | - pushd emsdk-master - source ./emsdk_env.sh - popd - make -C examples/example_emscripten_wgpu - - Android: - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - - name: Build example_android_opengl3 - run: | - cd examples/example_android_opengl3/android - gradle assembleDebug - - Discord-CI: - runs-on: ubuntu-18.04 - if: always() - needs: [Windows, Linux, MacOS, iOS, Emscripten, Android] - steps: - - uses: dearimgui/github_discord_notifier@latest - with: - discord-webhook: ${{ secrets.DISCORD_CI_WEBHOOK }} - github-token: ${{ github.token }} - action-task: discord-jobs - discord-filter: "'{{ github.branch }}'.match(/master|docking/g) != null && '{{ run.conclusion }}' != '{{ last_run.conclusion }}'" - discord-username: GitHub Actions - discord-job-new-failure-message: '' - discord-job-fixed-failure-message: '' - discord-job-new-failure-embed: | - { - "title": "`{{ job.name }}` job is failing on `{{ github.branch }}`!", - "description": "Commit [{{ github.context.payload.head_commit.title }}]({{ github.context.payload.head_commit.url }}) pushed to [{{ github.branch }}]({{ github.branch_url }}) broke [{{ job.name }}]({{ job.url }}) build job.\nFailing steps: {{ failing_steps }}", - "url": "{{ job.url }}", - "color": "0xFF0000", - "timestamp": "{{ run.updated_at }}" - } - discord-job-fixed-failure-embed: | - { - "title": "`{{ github.branch }}` branch is no longer failing!", - "description": "Build failures were fixed on [{{ github.branch }}]({{ github.branch_url }}) branch.", - "color": "0x00FF00", - "url": "{{ github.context.payload.head_commit.url }}", - "timestamp": "{{ run.completed_at }}" - } diff --git a/Lumos/External/imgui/.github/workflows/scheduled.yml b/Lumos/External/imgui/.github/workflows/scheduled.yml deleted file mode 100644 index 2a08578fb..000000000 --- a/Lumos/External/imgui/.github/workflows/scheduled.yml +++ /dev/null @@ -1,15 +0,0 @@ -# -# This is a dummy workflow used to trigger scheduled builds. Forked repositories most likely should disable this -# workflow to avoid daily builds of inactive repositories. -# -name: scheduled - -on: - schedule: - - cron: '0 9 * * *' - -jobs: - scheduled: - runs-on: ubuntu-latest - steps: - - run: exit 0 diff --git a/Lumos/External/imgui/.github/workflows/static-analysis.yml b/Lumos/External/imgui/.github/workflows/static-analysis.yml deleted file mode 100644 index f3e6b2d18..000000000 --- a/Lumos/External/imgui/.github/workflows/static-analysis.yml +++ /dev/null @@ -1,77 +0,0 @@ -name: static-analysis - -on: - workflow_run: - # Perform static analysis together with build workflow. Build triggers of "build" workflow do not need to be repeated here. - workflows: - - build - types: - - requested - -jobs: - PVS-Studio: - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 - - - name: Install Dependencies - env: - # The Secret variable setup in GitHub must be in format: "name_or_email key", on a single line - PVS_STUDIO_LICENSE: ${{ secrets.PVS_STUDIO_LICENSE }} - run: | - if [[ "$PVS_STUDIO_LICENSE" != "" ]]; - then - wget -q https://files.viva64.com/etc/pubkey.txt - sudo apt-key add pubkey.txt - sudo wget -O /etc/apt/sources.list.d/viva64.list https://files.viva64.com/etc/viva64.list - sudo apt-get update - sudo apt-get install -y pvs-studio - pvs-studio-analyzer credentials -o pvs-studio.lic $PVS_STUDIO_LICENSE - fi - - - name: PVS-Studio static analysis - run: | - if [[ ! -f pvs-studio.lic ]]; - then - echo "PVS Studio license is missing. No analysis will be performed." - echo "If you have a PVS Studio license please create a project secret named PVS_STUDIO_LICENSE with your license." - echo "You may use a free license. More information at https://www.viva64.com/en/b/0457/" - exit 0 - fi - cd examples/example_null - pvs-studio-analyzer trace -- make WITH_EXTRA_WARNINGS=1 - pvs-studio-analyzer analyze -e ../../imstb_rectpack.h -e ../../imstb_textedit.h -e ../../imstb_truetype.h -l ../../pvs-studio.lic -o pvs-studio.log - plog-converter -a 'GA:1,2;OP:1' -d V1071 -t errorfile -w pvs-studio.log - - Discord-CI: - runs-on: ubuntu-18.04 - needs: [PVS-Studio] - if: always() - steps: - - uses: dearimgui/github_discord_notifier@latest - with: - discord-webhook: ${{ secrets.DISCORD_CI_WEBHOOK }} - github-token: ${{ github.token }} - action-task: discord-jobs - discord-filter: "'{{ github.branch }}'.match(/master|docking/g) != null && '{{ run.conclusion }}' != '{{ last_run.conclusion }}'" - discord-username: GitHub Actions - discord-job-new-failure-message: '' - discord-job-fixed-failure-message: '' - discord-job-new-failure-embed: | - { - "title": "`{{ job.name }}` job is failing on `{{ github.branch }}`!", - "description": "Commit [{{ github.context.payload.head_commit.title }}]({{ github.context.payload.head_commit.url }}) pushed to [{{ github.branch }}]({{ github.branch_url }}) broke static analysis [{{ job.name }}]({{ job.url }}) job.\nFailing steps: {{ failing_steps }}", - "url": "{{ job.url }}", - "color": "0xFF0000", - "timestamp": "{{ run.updated_at }}" - } - discord-job-fixed-failure-embed: | - { - "title": "`{{ github.branch }}` branch is no longer failing!", - "description": "Static analysis failures were fixed on [{{ github.branch }}]({{ github.branch_url }}) branch.", - "color": "0x00FF00", - "url": "{{ github.context.payload.head_commit.url }}", - "timestamp": "{{ run.completed_at }}" - } diff --git a/Lumos/External/imgui/Plugins/implot/.github/CMakeLists.txt b/Lumos/External/imgui/Plugins/implot/.github/CMakeLists.txt deleted file mode 100644 index 118a26bcc..000000000 --- a/Lumos/External/imgui/Plugins/implot/.github/CMakeLists.txt +++ /dev/null @@ -1,95 +0,0 @@ -# This build script is not meant for general use, it is for CI use only! -cmake_minimum_required(VERSION 3.0) -project(implot) - -# -# Global options -# - -# Same as Dear ImGui -set(CMAKE_CXX_STANDARD 11) - -# Arch option for linux -if (NOT APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU" AND DEFINED GCC_ARCH) - if ("${GCC_ARCH}" MATCHES "Win32|x86|32") - add_compile_options(-m32) - add_link_options(-m32) - elseif ("${GCC_ARCH}" MATCHES "Win64|x64|64") - add_compile_options(-m64) - add_link_options(-m64) - endif () -endif () - -# Arch option for Mac: arm64 for M1 or x86_64 for intel (32 bits build are deprecated on Mac) -if(APPLE AND DEFINED OSX_ARCH) - if ("${OSX_ARCH}" MATCHES "x86_64") - set(CMAKE_OSX_ARCHITECTURES "x86_64") - elseif ("${OSX_ARCH}" MATCHES "arm64") - set(CMAKE_OSX_ARCHITECTURES "arm64") - else() - message(FATAL_ERROR "Unhandled OSX_ARCH=${OSX_ARCH}") - endif() -endif() - -# -# Dear ImGui library with no backend -# - -set(imgui_sources - ../imgui/imconfig.h - ../imgui/imgui.cpp - ../imgui/imgui.h - ../imgui/imgui_demo.cpp - ../imgui/imgui_draw.cpp - ../imgui/imgui_internal.h - ../imgui/imgui_tables.cpp - ../imgui/imgui_widgets.cpp - ../imgui/imstb_rectpack.h - ../imgui/imstb_textedit.h - ../imgui/imstb_truetype.h - ) -add_library(imgui ${imgui_sources}) -target_include_directories(imgui PUBLIC ../imgui) - -# -# ImPlot library -# - -file(GLOB SOURCE_CODE ../implot*.*) -add_library(implot STATIC ${SOURCE_CODE}) - -if(MSVC) - target_compile_options(implot PRIVATE /W4 /WX) -else() - target_compile_options(implot PRIVATE -Wall -Werror -pedantic) -endif() - -target_include_directories(implot PUBLIC ${CMAKE_CURRENT_LIST_DIR}/..) -target_link_libraries(implot PUBLIC imgui) - -if (UNIX) - target_link_libraries(implot PUBLIC m stdc++) -endif() - -# Define supported types via command line: -# - With no choice all types are supported (so that the CI provides support for all known types) -# - with -DIMPLOT_CUSTOM_NUMERIC_TYPES="default" the default set defined in implot_items.cpp is used -# - with -DIMPLOT_CUSTOM_NUMERIC_TYPES="(int)(float)(double)" only int, float and double are supported -if (NOT DEFINED IMPLOT_CUSTOM_NUMERIC_TYPES) - set(IMPLOT_CUSTOM_NUMERIC_TYPES "all") -endif() -if ("${IMPLOT_CUSTOM_NUMERIC_TYPES}" STREQUAL "default") - message("==== Compiling for default types ====") -elseif("${IMPLOT_CUSTOM_NUMERIC_TYPES}" STREQUAL "all") - message("==== Compiling for all types ====") - target_compile_definitions(implot PRIVATE "IMPLOT_CUSTOM_NUMERIC_TYPES=(signed char)(unsigned char)(signed short)(unsigned short)(signed int)(unsigned int)(signed long)(unsigned long)(signed long long)(unsigned long long)(float)(double)(long double)") -else() - message("==== Compiling for custom types: ${IMPLOT_CUSTOM_NUMERIC_TYPES} ====") - target_compile_definitions(implot PRIVATE "IMPLOT_CUSTOM_NUMERIC_TYPES=${IMPLOT_CUSTOM_NUMERIC_TYPES}") -endif() - -# -# implot example binary application (with no backend) -# -add_executable(example_implot example_implot.cpp) -target_link_libraries(example_implot PRIVATE implot) diff --git a/Lumos/External/imgui/Plugins/implot/.github/example_implot.cpp b/Lumos/External/imgui/Plugins/implot/.github/example_implot.cpp deleted file mode 100644 index 9339baba9..000000000 --- a/Lumos/External/imgui/Plugins/implot/.github/example_implot.cpp +++ /dev/null @@ -1,55 +0,0 @@ -// Sample app built with Dear ImGui and ImPlot -// This app uses implot and imgui, but does not output to any backend! It only serves as a proof that an app can be built, linked, and run. - -#include "imgui.h" -#include "implot.h" -#include "stdio.h" - -int main(int, char**) -{ - printf("sample_implot: start\n"); - - IMGUI_CHECKVERSION(); - ImGui::CreateContext(); - ImPlot::CreateContext(); - - // Additional imgui initialization needed when no backend is present - ImGui::GetIO().DisplaySize = ImVec2(400.f, 400.f); - ImGui::GetIO().Fonts->Build(); - - // Render 500 frames - for(int counter = 0; counter < 500; ++counter) - { - ImGui::NewFrame(); - - if (ImGui::Begin("Hello, world!")) - { - ImGui::Text("Hello again"); - - if (ImPlot::BeginPlot("My Plot")) - { - static double values[] = {1., 3., 5.}; - ImPlot::PlotLine("Values", values, 3); - ImPlot::EndPlot(); - } - - #ifdef IMPLOT_INSTANTIATE_ALL_NUMERIC_TYPES - if (ImPlot::BeginPlot("My Plot (long double)")) - { - static long double values[] = {1., 3., 5.}; - ImPlot::PlotLine("Values", values, 3); - ImPlot::EndPlot(); - } - #endif - - ImGui::End(); - } - - ImGui::Render(); - } - - ImPlot::DestroyContext(); - ImGui::DestroyContext(); - printf("sample_implot: end\n"); - return 0; -} diff --git a/Lumos/External/imgui/Plugins/implot/.github/workflows/build.yml b/Lumos/External/imgui/Plugins/implot/.github/workflows/build.yml deleted file mode 100644 index 2f9388f55..000000000 --- a/Lumos/External/imgui/Plugins/implot/.github/workflows/build.yml +++ /dev/null @@ -1,144 +0,0 @@ -name: build - -on: - push: - pull_request: - -jobs: - Linux: - runs-on: ubuntu-22.04 - - strategy: - fail-fast: false - matrix: - build_type: - - debug - - release - compiler: - - gcc - - clang - arch: - - x86 - - x64 - - steps: - - uses: actions/checkout@v3 - - - uses: actions/checkout@v3 - with: - repository: ocornut/imgui - path: imgui - - - name: Dependencies - run: sudo apt-get install g++-multilib - - - name: Configure - run: cmake -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_C_COMPILER=${{ matrix.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DGCC_ARCH=${{ matrix.arch }} -B cmake-build -S .github - - - name: Build - run: cmake --build cmake-build --parallel $(nproc) - - - name: Run - run: | - file cmake-build/example_implot - cmake-build/example_implot - - MacOS: - runs-on: macos-11 - - strategy: - fail-fast: false - matrix: - build_type: - - debug - - release - arch: - - x86_64 - - arm64 - - steps: - - uses: actions/checkout@v3 - - - uses: actions/checkout@v3 - with: - repository: ocornut/imgui - path: imgui - - - name: Configure - shell: bash - run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DOSX_ARCH=${{ matrix.arch }} -B cmake-build -S .github - - - name: Build - shell: bash - run: cmake --build cmake-build --parallel $(sysctl -n hw.ncpu) - - - name: Run - if: matrix.arch == 'x86_64' # github's CI hosts seem to be running intel and can not run ARM - run: | - file cmake-build/example_implot - cmake-build/example_implot - - Windows_MSVC: - runs-on: windows-2022 - - strategy: - fail-fast: false - matrix: - build_type: - - debug - - release - arch: - - Win32 - - x64 - - steps: - - uses: actions/checkout@v3 - - - uses: actions/checkout@v3 - with: - repository: ocornut/imgui - path: imgui - - - name: Configure - shell: bash - run: cmake -G 'Visual Studio 17 2022' -A ${{ matrix.arch }} -B cmake-build -S .github - - - name: Build - shell: bash - run: cmake --build cmake-build -- -p:Configuration=${{ matrix.build_type }} -maxcpucount:$NUMBER_OF_PROCESSORS - - - name: Run - run: .\cmake-build\${{matrix.build_type}}\example_implot.exe - - Windows_MingW: # MingW on Github CI does not fully support 32 bits: link fails when it tries to link 64 bits system libraries. - runs-on: windows-2022 - - strategy: - fail-fast: false - matrix: - build_type: - - debug - - release - arch: - - x64 - # - Win32 - - steps: - - uses: actions/checkout@v3 - - - uses: actions/checkout@v3 - with: - repository: ocornut/imgui - path: imgui - - - name: Configure - shell: bash - run: cmake -G 'MinGW Makefiles' -DGCC_ARCH=${{ matrix.arch }} -B cmake-build -S .github - - - name: Build - shell: bash - run: cmake --build cmake-build --parallel $NUMBER_OF_PROCESSORS - - - name: Run (MingW) - run: .\cmake-build\example_implot.exe - \ No newline at end of file diff --git a/Lumos/External/vulkan/volk/.github/workflows/build.yml b/Lumos/External/vulkan/volk/.github/workflows/build.yml deleted file mode 100644 index a4ab0f172..000000000 --- a/Lumos/External/vulkan/volk/.github/workflows/build.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: build - -on: [push, pull_request] - -jobs: - build: - strategy: - matrix: - os: [ubuntu, macos, windows] - name: ${{matrix.os}} - runs-on: ${{matrix.os}}-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/checkout@v1 - with: - repository: KhronosGroup/Vulkan-Headers - ref: master - path: Vulkan-Headers - - name: move sdk - shell: bash - run: | - mv ../Vulkan-Headers ~/Vulkan-Headers - - name: build master - shell: bash - run: | - export VULKAN_SDK=~/Vulkan-Headers - git -C ~/Vulkan-Headers checkout master - test/run_tests.sh - - name: build 1.1.101 - shell: bash - run: | - export VULKAN_SDK=~/Vulkan-Headers - git -C ~/Vulkan-Headers checkout sdk-1.1.101 - test/run_tests.sh - - name: build 1.2.131 - shell: bash - run: | - export VULKAN_SDK=~/Vulkan-Headers - git -C ~/Vulkan-Headers checkout sdk-1.2.131 - test/run_tests.sh - - name: build 1.2.182 - shell: bash - run: | - export VULKAN_SDK=~/Vulkan-Headers - git -C ~/Vulkan-Headers checkout sdk-1.2.182 - test/run_tests.sh - - name: build 1.3.204 - shell: bash - run: | - export VULKAN_SDK=~/Vulkan-Headers - git -C ~/Vulkan-Headers checkout sdk-1.3.204 - test/run_tests.sh \ No newline at end of file