From bdeee8d0956d6964fdc58d5b2892e9d0cee4597d Mon Sep 17 00:00:00 2001 From: George Hotz Date: Sun, 9 Aug 2026 22:25:13 -0700 Subject: [PATCH] ci: gate platform tests to the upstream repo Skip mac/windows/qcom-cl jobs anywhere but tinygrad/tinygrad, so the Platform Tests workflow is disabled on the gitea fork (and any fork). --- .github/workflows/platform.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/platform.yml b/.github/workflows/platform.yml index 98f15727a3..21c745d679 100644 --- a/.github/workflows/platform.yml +++ b/.github/workflows/platform.yml @@ -24,6 +24,7 @@ jobs: unittestmacos: name: MacOS (unit) + if: github.repository == 'tinygrad/tinygrad' runs-on: macos-26 timeout-minutes: 20 steps: @@ -51,6 +52,7 @@ jobs: unittestmacosmock: name: MacOS (unit, mock) + if: github.repository == 'tinygrad/tinygrad' runs-on: macos-26 timeout-minutes: 20 steps: @@ -88,6 +90,7 @@ jobs: matrix: group: [1, 2] name: MacOS (DEV=METAL) (${{ matrix.group }}) + if: github.repository == 'tinygrad/tinygrad' runs-on: macos-26 timeout-minutes: 20 env: @@ -120,6 +123,7 @@ jobs: - 'WEBGPU' name: MacOS (DEV=${{ matrix.dev }}) + if: github.repository == 'tinygrad/tinygrad' runs-on: macos-26 timeout-minutes: 20 steps: @@ -156,6 +160,7 @@ jobs: - 'WEBGPU' name: Windows (DEV=${{ matrix.dev }}) + if: github.repository == 'tinygrad/tinygrad' runs-on: windows-2025 timeout-minutes: 15 steps: @@ -182,6 +187,7 @@ jobs: qcomclcompiletests: name: Compile-only (QCOM CL) + if: github.repository == 'tinygrad/tinygrad' runs-on: ubuntu-24.04-arm timeout-minutes: 15 steps: