-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a242a2
commit 1ba474d
Showing
3 changed files
with
49 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,13 +76,22 @@ jobs: | |
docker-images: true | ||
swap-storage: true | ||
|
||
- name: Prepare Vulkan SDK | ||
uses: humbletim/[email protected] | ||
with: | ||
vulkan-query-version: 1.3.290.0 | ||
vulkan-components: Vulkan-Headers, Vulkan-Loader | ||
vulkan-use-cache: true | ||
if: contains(matrix.args, 'vulkan') | ||
- name: Prepare Vulkan SDK for Windows | ||
run: | | ||
C:\msys64\usr\bin\wget.exe https://sdk.lunarg.com/sdk/download/1.3.290.0/windows/VulkanSDK-1.3.290.0-Installer.exe -O vulkan.exe | ||
.\vulkan.exe --root C:\vulkan --accept-licenses --default-answer --confirm-command install | ||
echo "VULKAN_SDK=C:\vulkan" >> $env:GITHUB_ENV | ||
Copy-Item -Path "C:\vulkan\Bin\*.dll" -Destination "." -Recurse | ||
if: ${{ contains(matrix.platform, 'windows') && contains(matrix.args, 'vulkan') }} | ||
|
||
- name: Prepare Vulkan SDK for Linux | ||
run: | | ||
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc | ||
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list | ||
sudo apt update | ||
sudo apt install vulkan-sdk -y | ||
sudo apt-get install -y mesa-vulkan-drivers | ||
if: ${{ contains(matrix.platform, 'ubuntu') && contains(matrix.args, 'vulkan') }} | ||
|
||
- name: Install rocm | ||
if: contains(matrix.args, 'rocm') | ||
|
@@ -169,4 +178,4 @@ jobs: | |
bun scripts/publish.js target/release/bundle/deb/*.deb | ||
bun scripts/publish.js target/release/bundle/rpm/*.rpm | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,13 +45,22 @@ jobs: | |
run: bun install | ||
working-directory: ./desktop | ||
|
||
- name: Prepare Vulkan SDK | ||
uses: humbletim/[email protected] | ||
with: | ||
vulkan-query-version: 1.3.290.0 | ||
vulkan-components: Vulkan-Headers, Vulkan-Loader | ||
vulkan-use-cache: true | ||
if: contains(matrix.args, 'vulkan') | ||
- name: Prepare Vulkan SDK for Windows | ||
run: | | ||
C:\msys64\usr\bin\wget.exe https://sdk.lunarg.com/sdk/download/1.3.290.0/windows/VulkanSDK-1.3.290.0-Installer.exe -O vulkan.exe | ||
.\vulkan.exe --root C:\vulkan --accept-licenses --default-answer --confirm-command install | ||
echo "VULKAN_SDK=C:\vulkan" >> $env:GITHUB_ENV | ||
Copy-Item -Path "C:\vulkan\Bin\*.dll" -Destination "." -Recurse | ||
if: ${{ contains(matrix.platform, 'windows') && contains(matrix.args, 'vulkan') }} | ||
|
||
- name: Prepare Vulkan SDK for Linux | ||
run: | | ||
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc | ||
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list | ||
sudo apt update | ||
sudo apt install vulkan-sdk -y | ||
sudo apt-get install -y mesa-vulkan-drivers | ||
if: ${{ contains(matrix.platform, 'ubuntu') && contains(matrix.args, 'vulkan') }} | ||
|
||
# Run pre build | ||
- name: Run pre_build.js on ${{ matrix.platform }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,13 +57,22 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Prepare Vulkan SDK | ||
uses: humbletim/[email protected] | ||
with: | ||
vulkan-query-version: 1.3.290.0 | ||
vulkan-components: Vulkan-Headers, Vulkan-Loader | ||
vulkan-use-cache: true | ||
if: contains(matrix.args, 'vulkan') | ||
- name: Prepare Vulkan SDK for Windows | ||
run: | | ||
C:\msys64\usr\bin\wget.exe https://sdk.lunarg.com/sdk/download/1.3.290.0/windows/VulkanSDK-1.3.290.0-Installer.exe -O vulkan.exe | ||
.\vulkan.exe --root C:\vulkan --accept-licenses --default-answer --confirm-command install | ||
echo "VULKAN_SDK=C:\vulkan" >> $env:GITHUB_ENV | ||
Copy-Item -Path "C:\vulkan\Bin\*.dll" -Destination "." -Recurse | ||
if: ${{ contains(matrix.platform, 'windows') && contains(matrix.args, 'vulkan') }} | ||
|
||
- name: Prepare Vulkan SDK for Linux | ||
run: | | ||
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc | ||
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list | ||
sudo apt update | ||
sudo apt install vulkan-sdk -y | ||
sudo apt-get install -y mesa-vulkan-drivers | ||
if: ${{ contains(matrix.platform, 'ubuntu') && contains(matrix.args, 'vulkan') }} | ||
|
||
- name: Setup CUDA Toolkit | ||
if: contains(matrix.args, 'cuda') | ||
|