Skip to content

Commit 013df71

Browse files
committed
fix
1 parent 4ac00bb commit 013df71

File tree

2 files changed

+5
-25
lines changed

2 files changed

+5
-25
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
schedule:
99
- cron: "0 0 * * *"
1010
workflow_dispatch:
11+
pull_request:
12+
types: [opened, synchronize, reopened]
1113

1214
jobs:
1315
# This job set environment matrix with respect to production release and nightly release.
@@ -126,11 +128,6 @@ jobs:
126128
env:
127129
CI_PLATFORM: macos-latest
128130

129-
- name: Download And Install Vulkan
130-
run: sudo bash .github/workflows/scripts/macos_vk.sh
131-
env:
132-
CI_PLATFORM: macos-latest
133-
134131
- name: Create Python Wheel
135132
run: |
136133
TAICHI_REPO_DIR=`pwd`
@@ -160,7 +157,7 @@ jobs:
160157
run: |
161158
python examples/algorithm/laplace.py
162159
ti diagnose
163-
ti test -vr2 -t2 -a cpu,metal
160+
ti test -vr2 -t2 -a cpu,meta
164161
165162
- name: Upload PyPI
166163
env:
@@ -207,7 +204,7 @@ jobs:
207204
if [ $NUM_WHL -ne 1 ]; then echo 'ERROR: created more than 1 whl.' && exit 1; fi
208205
python3 -m pip install dist/*.whl
209206
env:
210-
CI_SETUP_CMAKE_ARGS: -DTI_WITH_OPENGL:BOOL=OFF -DTI_WITH_CUDA:BOOL=OFF -DTI_WITH_CC:BOOL=OFF -DTI_WITH_VULKAN:BOOL=OFF -DTI_WITH_TESTS:BOOL=ON
207+
CI_SETUP_CMAKE_ARGS: -DTI_WITH_OPENGL:BOOL=OFF -DTI_WITH_CUDA:BOOL=OFF -DTI_WITH_CC:BOOL=OFF -DTI_WITH_VULKAN:BOOL=ON -DTI_WITH_TESTS:BOOL=ON
211208
PROJECT_NAME: ${{ matrix.name }}
212209
PYTHON: ${{ matrix.python }}
213210

@@ -264,7 +261,7 @@ jobs:
264261
if [ $NUM_WHL -ne 1 ]; then echo 'ERROR: created more than 1 whl.' && exit 1; fi
265262
python3 -m pip install dist/*.whl
266263
env:
267-
CI_SETUP_CMAKE_ARGS: -DTI_WITH_OPENGL:BOOL=OFF -DTI_WITH_CUDA:BOOL=OFF -DTI_WITH_CC:BOOL=OFF -DTI_WITH_VULKAN:BOOL=OFF -DTI_WITH_TESTS:BOOL=ON
264+
CI_SETUP_CMAKE_ARGS: -DTI_WITH_OPENGL:BOOL=OFF -DTI_WITH_CUDA:BOOL=OFF -DTI_WITH_CC:BOOL=OFF -DTI_WITH_VULKAN:BOOL=ON -DTI_WITH_TESTS:BOOL=ON
268265
PROJECT_NAME: ${{ matrix.name }}
269266
PYTHON: ${{ matrix.python }}
270267

.github/workflows/scripts/macos_vk.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)