Skip to content

Commit 80ccc82

Browse files
fix CI
1 parent fbb34b9 commit 80ccc82

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
include:
10+
platform:
1111
- os: ubuntu-24.04
1212
arch: x86_64
1313
cuda-keyring: x86_64
@@ -23,8 +23,8 @@ jobs:
2323
- { name: clang, version: 17 }
2424
- { name: clang, version: 18 }
2525
config: [ Release, Debug ]
26-
name: "${{ matrix.os }} / ${{ matrix.config }} / ${{ matrix.compiler.name }}-${{ matrix.compiler.version }}"
27-
runs-on: ${{ matrix.os }}
26+
name: "${{ matrix.platform.os }} / ${{ matrix.config }} / ${{ matrix.compiler.name }}-${{ matrix.compiler.version }}"
27+
runs-on: ${{ matrix.platform.os }}
2828
steps:
2929
- uses: actions/checkout@v4
3030
with:
@@ -47,7 +47,7 @@ jobs:
4747
sudo apt-get -y install build-essential cmake ninja-build uuid-dev libxinerama-dev libxcursor-dev libxi-dev libvulkan-dev libxkbcommon-dev libxrandr-dev
4848
- name: "Install CUDA Keyring"
4949
run: |
50-
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/${{ matrix.cuda-keyring }}/cuda-keyring_1.1-1_all.deb
50+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/${{ matrix.platform.cuda-keyring }}/cuda-keyring_1.1-1_all.deb
5151
sudo apt-get -y remove --purge -s '*cuda*' '*nvidia*'
5252
sudo dpkg -i cuda-keyring_1.1-1_all.deb
5353
- name: "Setup CUDA"
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/upload-artifact@v4
8484
with:
8585
path: "dist/bin"
86-
name: LuisaRender-${{ matrix.os }}-${{ matrix.compiler.name }}-${{ matrix.compiler.version }}
86+
name: LuisaRender-${{ matrix.platform.os }}-${{ matrix.compiler.name }}-${{ matrix.compiler.version }}
8787

8888
build-macos:
8989
strategy:
@@ -100,7 +100,7 @@ jobs:
100100
submodules: recursive
101101
- name: "Install Dependencies"
102102
run: |
103-
brew install cmake ninja llvm sccache glfw molten-vk
103+
brew install ninja llvm sccache glfw molten-vk
104104
- name: "Configure and Build"
105105
run: |
106106
if [ "${{ matrix.compiler }}" = "homebrew-clang" ]; then
@@ -127,7 +127,7 @@ jobs:
127127
strategy:
128128
fail-fast: false
129129
matrix:
130-
os: [ 2019, 2025 ]
130+
os: [ 2025 ]
131131
config: [ Release, Debug ]
132132
compiler: [ cl, clang, clang-cl ]
133133
name: "windows-${{ matrix.os }} / ${{ matrix.config }} / ${{ matrix.compiler }}"

0 commit comments

Comments
 (0)