Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Add taichiCourse01 & marching_squares release tests #8157

Merged
merged 2 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/scripts/unix_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [ "$TI_RUN_RELEASE_TESTS" == "1" ]; then
python3 -m pip install PyYAML
git clone https://github.com/taichi-dev/taichi-release-tests
pushd taichi-release-tests
git checkout 20230607
git checkout 20230619
mkdir -p repos/taichi/python/taichi
EXAMPLES=$(cat <<EOF | python3 | tail -n 1
import taichi.examples
Expand All @@ -53,6 +53,9 @@ 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/--Shadertoys
git clone --depth=1 https://github.com/taichiCourse01/taichi_ray_tracing
popd

pushd repos/difftaichi
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/scripts/win_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,16 @@ if ("$env:TI_RUN_RELEASE_TESTS" -eq "1") {
Invoke pip install PyYAML
Invoke git clone https://github.com/taichi-dev/taichi-release-tests
Push-Location taichi-release-tests
Invoke git checkout 20230607
Invoke git checkout 20230619
mkdir -p repos/taichi/python/taichi
$EXAMPLES = & python -c 'import taichi.examples as e; print(e.__path__._path[0])' | Select-Object -Last 1
Push-Location repos
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/--Shadertoys
Invoke git clone --depth=1 https://github.com/taichiCourse01/taichi_ray_tracing
Pop-Location
Push-Location repos/difftaichi
Invoke pip install -r requirements.txt
Expand Down