Skip to content

Commit

Permalink
[ci] add taichiCourse01 release tests
Browse files Browse the repository at this point in the history
  • Loading branch information
L2ncE committed Jun 8, 2023
1 parent ec69267 commit bc9de83
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/scripts/unix_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,42 @@ EOF
git clone --depth=1 https://github.com/taichi-dev/quantaichi
git clone --depth=1 https://github.com/taichi-dev/difftaichi
git clone --depth=1 https://github.com/taichi-dev/games201
git clone --depth=1 https://github.com/taichiCourse01/--Galaxy
git clone --depth=1 https://github.com/taichiCourse01/--Diffuse
git clone --depth=1 https://github.com/taichiCourse01/--Shadertoys
git clone --depth=1 https://github.com/taichiCourse01/taichi_ray_tracing
git clone --depth=1 https://github.com/taichiCourse01/--Deformables
git clone --depth=1 https://github.com/taichiCourse01/taichi_sph
popd

pushd repos/difftaichi
pip install -r requirements.txt
popd

pushd repos/--Galaxy
pip install -r requirements.txt
popd

pushd repos/--Diffuse
pip install -r requirements.txt
popd

pushd repos/--Shadertoys
pip install -r requirements.txt
popd

pushd repos/taichi_ray_tracing
pip install -r requirements.txt
popd

pushd repos/--Deformables
pip install -r requirements.txt
popd

pushd repos/taichi_sph
pip install -r requirements.txt
popd

python3 run.py --log=DEBUG --runners 1 timelines
popd
fi
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/scripts/win_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,34 @@ if ("$env:TI_RUN_RELEASE_TESTS" -eq "1") {
Invoke git clone --depth=1 https://github.com/taichi-dev/quantaichi
Invoke git clone --depth=1 https://github.com/taichi-dev/difftaichi
Invoke git clone --depth=1 https://github.com/taichi-dev/games201
Invoke git clone --depth=1 https://github.com/taichiCourse01/--Galaxy
Invoke git clone --depth=1 https://github.com/taichiCourse01/--Diffuse
Invoke git clone --depth=1 https://github.com/taichiCourse01/--Shadertoys
Invoke git clone --depth=1 https://github.com/taichiCourse01/taichi_ray_tracing
Invoke git clone --depth=1 https://github.com/taichiCourse01/--Deformables
Invoke git clone --depth=1 https://github.com/taichiCourse01/taichi_sph
Pop-Location
Push-Location repos/difftaichi
Invoke pip install -r requirements.txt
Pop-Location
Push-Location repos/--Galaxy
Invoke pip install -r requirements.txt
Pop-Location
Push-Location repos/--Diffuse
Invoke pip install -r requirements.txt
Pop-Location
Push-Location repos/--Shadertoys
Invoke pip install -r requirements.txt
Pop-Location
Push-Location repos/taichi_ray_tracing
Invoke pip install -r requirements.txt
Pop-Location
Push-Location repos/--Deformables
Invoke pip install -r requirements.txt
Pop-Location
Push-Location repos/taichi_sph
Invoke pip install -r requirements.txt
Pop-Location
Invoke python run.py --log=DEBUG --runners 1 timelines
Pop-Location
}

0 comments on commit bc9de83

Please sign in to comment.