Skip to content

Commit

Permalink
[misc] Set up buildbot for gpu tests on linux (#2305)
Browse files Browse the repository at this point in the history
* set up buildbot

* cn label

Co-authored-by: Ye Kuang <yekuang.ky@gmail.com>
  • Loading branch information
BillXu2000 and k-ye authored Apr 30, 2021
1 parent 5e6a7b3 commit 048da7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/persubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ jobs:
env:
RUN_CPP_TESTS: ${{ matrix.with_cpp_tests }}

build_and_test_gpu:
build_and_test_gpu_linux:
name: Build and Test (GPU)
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip ci') && github.event.sender.login != 'taichi-gardener' }}
runs-on: [zhen]
runs-on: [self-hosted, cuda, cn]
steps:
- uses: actions/checkout@v2

Expand All @@ -118,14 +118,14 @@ jobs:
export TAICHI_REPO_DIR=`pwd`
export PATH=/home/github/taichi-llvm/bin/:$PATH
export CXX=clang++-8
export PYTHON=/usr/bin/python3.7
export PYTHON=/usr/bin/python3
$PYTHON misc/ci_setup.py ci
env:
CI_SETUP_CMAKE_ARGS: -DTI_WITH_OPENGL:BOOL=ON -DTI_WITH_CC:BOOL=OFF

- name: Test
run: |
export PYTHON=/usr/bin/python3.7
export PYTHON=/usr/bin/python3
export TAICHI_REPO_DIR=`pwd`
export PATH=$TAICHI_REPO_DIR/bin:$PATH
export PATH=/home/github/taichi-llvm/bin/:$PATH
Expand Down

0 comments on commit 048da7f

Please sign in to comment.