From 4857681645538e0e3d57dab8d004d018a982085e Mon Sep 17 00:00:00 2001 From: Proton Date: Mon, 17 Jun 2024 14:09:23 +0800 Subject: [PATCH 1/2] [build] Remove driver470, add driver 550 --- .github/actionlint.yaml | 2 +- .github/workflows/testing.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index 36fa23577f27d..288322c0ad2c7 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -5,7 +5,7 @@ self-hosted-runner: - OpenGL - vulkan - m1 - - driver470 + - driver550 - driver510 - benchmark - release diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 95115917dafeb..b37732b72974c 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -189,7 +189,7 @@ jobs: - sm70 - not sm70 driver: - - driver470 + - driver550 - driver510 runs-on: @@ -889,7 +889,7 @@ jobs: strategy: matrix: tags: - - [self-hosted, cuda, vulkan, cn, driver470] + - [self-hosted, cuda, vulkan, cn, driver550] - [self-hosted, cuda, vulkan, cn, driver510] env: PY: '3.8' From 9fbf4d2af66dc638e90ef76f6e0964d8d5621b75 Mon Sep 17 00:00:00 2001 From: Proton Date: Mon, 17 Jun 2024 15:10:19 +0800 Subject: [PATCH 2/2] Add py3.12 --- .github/workflows/release.yml | 8 ++++---- .github/workflows/testing.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4d4b023e4cca..fafc85b99d6bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,16 +56,16 @@ jobs: run: | if [ -n "$RELEASE_VERSION" ]; then # For production release, we run on five python versions. - echo 'matrix={"include":[{"name":"taichi","python":"3.7"},{"name":"taichi","python":"3.8"},{"name":"taichi","python":"3.9"},{"name":"taichi","python":"3.10"},{"name":"taichi","python":"3.11"}]}"' >> $GITHUB_OUTPUT + echo 'matrix={"include":[{"name":"taichi","python":"3.7"},{"name":"taichi","python":"3.8"},{"name":"taichi","python":"3.9"},{"name":"taichi","python":"3.10"},{"name":"taichi","python":"3.11"},{"name":"taichi","python":"3.12"}]}"' >> $GITHUB_OUTPUT # M1 only supports 3.8, 3.9, and 3.10(conda), so change matrix. - echo 'matrix_osx={"include":[{"name":"taichi","python":"3.8"},{"name":"taichi","python":"3.9"},{"name":"taichi","python":"3.10"},{"name":"taichi","python":"3.11"}]}"' >> $GITHUB_OUTPUT + echo 'matrix_osx={"include":[{"name":"taichi","python":"3.8"},{"name":"taichi","python":"3.9"},{"name":"taichi","python":"3.10"},{"name":"taichi","python":"3.11"},{"name":"taichi","python":"3.12"}]}"' >> $GITHUB_OUTPUT else # For nightly release, we run on three python versions. - echo 'matrix={"include":[{"name":"taichi-nightly","python":"3.7"},{"name":"taichi-nightly","python":"3.8"},{"name":"taichi-nightly","python":"3.9"},{"name":"taichi-nightly","python":"3.10"},{"name":"taichi-nightly","python":"3.11"}]}"' >> $GITHUB_OUTPUT + echo 'matrix={"include":[{"name":"taichi-nightly","python":"3.7"},{"name":"taichi-nightly","python":"3.8"},{"name":"taichi-nightly","python":"3.9"},{"name":"taichi-nightly","python":"3.10"},{"name":"taichi-nightly","python":"3.11"},{"name":"taichi","python":"3.12"}]}"' >> $GITHUB_OUTPUT # M1 only supports 3.8 and 3.10(conda), so change matrix. - echo 'matrix_osx={"include":[{"name":"taichi-nightly","python":"3.8"},{"name":"taichi-nightly","python":"3.9"},{"name":"taichi-nightly","python":"3.10"},{"name":"taichi-nightly","python":"3.11"}]}"' >> $GITHUB_OUTPUT + echo 'matrix_osx={"include":[{"name":"taichi-nightly","python":"3.8"},{"name":"taichi-nightly","python":"3.9"},{"name":"taichi-nightly","python":"3.10"},{"name":"taichi-nightly","python":"3.11"},{"name":"taichi","python":"3.12"}]}"' >> $GITHUB_OUTPUT fi build_and_test_linux: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index b37732b72974c..d11efcbdaf95b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -890,7 +890,7 @@ jobs: matrix: tags: - [self-hosted, cuda, vulkan, cn, driver550] - - [self-hosted, cuda, vulkan, cn, driver510] + # - [self-hosted, cuda, vulkan, cn, driver510] env: PY: '3.8' PROJECT_NAME: taichi