Skip to content

Commit

Permalink
add build
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ye committed Apr 9, 2021
1 parent 53c4846 commit 3686811
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/persubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ jobs:
- uses: actions/checkout@v2
- name: Build
run: |
cd
FOR /F "tokens=* USEBACKQ" %F IN ('cd') DO (set TAICHI_REPO_DIR=%%F)
echo %TAICHI_REPO_DIR%
set PATH=%TAICHI_REPO_DIR%\bin;%PATH%
echo %PATH%
where msbuild
clang --version
mkdir build
cd build
cmake .. -G"Visual Studio 16 2019" -A x64 -DPYTHON_EXECUTABLE=python -DLLVM_DIR="C:\LLVM\taichi-llvm-10.0.0-msvc2019\lib\cmake\llvm" -DTI_WITH_CUDA=ON -DTI_WITH_OPENGL=OFF -DTI_WITH_CC=OFF
shell: cmd
env:
CI_SETUP_CMAKE_ARGS: -DTI_WITH_CUDA:BOOL=ON -DTI_WITH_OPENGL:BOOL=OFF -DTI_WITH_CC:BOOL=OFF
# - name: Test
# run: |
# set TAICHI_REPO_DIR=C:\taichi
Expand Down

0 comments on commit 3686811

Please sign in to comment.