Skip to content

Commit

Permalink
CI: update VulkanSDK
Browse files Browse the repository at this point in the history
old one no longer available, new matches Ubuntu 24.04
  • Loading branch information
paroj committed Oct 9, 2024
1 parent 7e41b72 commit d389833
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pip-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:
shell: bash
- name: Install Dependencies
run: |
curl -LO https://sdk.lunarg.com/sdk/download/1.3.224.1/windows/VulkanSDK-1.3.224.1-Installer.exe
.\VulkanSDK-1.3.224.1-Installer.exe --accept-licenses --default-answer --confirm-command install
curl -LO https://sdk.lunarg.com/sdk/download/1.3.275.0/windows/VulkanSDK-1.3.275.0-Installer.exe
.\VulkanSDK-1.3.275.0-Installer.exe --accept-licenses --default-answer --confirm-command install
- name: Build
run: |
python -m pip install --upgrade pip==24.0
pip install setuptools wheel twine
pip wheel . --verbose
python -m twine upload --repository pypi *.whl
env:
VULKAN_SDK: C:\VulkanSDK\1.3.224.1
VULKAN_SDK: C:\VulkanSDK\1.3.275.0
SKBUILD_BUILD_OPTIONS: -j4
macos:
runs-on: macos-12
Expand Down
4 changes: 2 additions & 2 deletions SDK/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM quay.io/pypa/manylinux_2_28_x86_64:latest
RUN yum install -y libXrandr-devel mesa-libEGL-devel vulkan-devel
WORKDIR /
RUN curl -LO https://sdk.lunarg.com/sdk/download/1.3.224.1/linux/vulkansdk-linux-x86_64-1.3.224.1.tar.gz && tar xvf vulkansdk-linux-x86_64-1.3.224.1.tar.gz
ENV VULKAN_SDK=/1.3.224.1/x86_64/
RUN curl -LO https://sdk.lunarg.com/sdk/download/1.3.275.0/linux/vulkansdk-linux-x86_64-1.3.275.0.tar.gz && tar xvf vulkansdk-linux-x86_64-1.3.275.0.tar.gz
ENV VULKAN_SDK=/1.3.275.0/x86_64/
WORKDIR /workspace
CMD PATH="/opt/python/$PYVER/bin/:$PATH" pip wheel . --verbose
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ install:
- cmd: pip install swig
- cmd: curl -sSf -o rustup-init.exe https://win.rustup.rs/
- cmd: rustup-init.exe -y
- cmd: curl -LO https://sdk.lunarg.com/sdk/download/1.3.224.1/windows/VulkanSDK-1.3.224.1-Installer.exe
- cmd: VulkanSDK-1.3.224.1-Installer.exe --accept-licenses --default-answer --confirm-command install
- cmd: curl -LO https://sdk.lunarg.com/sdk/download/1.3.275.0/windows/VulkanSDK-1.3.275.0-Installer.exe
- cmd: VulkanSDK-1.3.275.0-Installer.exe --accept-licenses --default-answer --confirm-command install
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: git submodule update --init --recursive
build_script:
- set PATH=C:\Qt\6.2\msvc2019_64\bin;C:\Users\appveyor\.cargo\bin;%PATH%
- set VULKAN_SDK=C:\VulkanSDK\1.3.224.1
- set VULKAN_SDK=C:\VulkanSDK\1.3.275.0
- cmake -P ci-build.cmake
- cmake --build build --config RelWithDebInfo --target INSTALL
test_script:
Expand Down

0 comments on commit d389833

Please sign in to comment.