Skip to content

Commit

Permalink
Try to fix windows ci and temporarily disable all other CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Sep 18, 2024
1 parent d07a15e commit 6138e66
Showing 1 changed file with 43 additions and 17 deletions.
60 changes: 43 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
cargo-clippy:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on: ubuntu-latest
name: "cargo clippy | ubuntu"
steps:
Expand All @@ -111,7 +111,7 @@ jobs:
cargo-clippy-xwin:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on: ubuntu-latest
name: "cargo clippy | windows"
steps:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
cargo-dev-generate-all:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on: ubuntu-latest
name: "cargo dev generate-all"
steps:
Expand All @@ -155,6 +155,7 @@ jobs:

cargo-shear:
timeout-minutes: 10
if: false
name: "cargo shear"
runs-on: ubuntu-latest
steps:
Expand All @@ -170,7 +171,7 @@ jobs:
cargo-test-linux:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on:
labels: "ubuntu-latest-xlarge"
name: "cargo test | ubuntu"
Expand Down Expand Up @@ -217,7 +218,7 @@ jobs:
cargo-test-macos:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on:
labels: "macos-latest-xlarge"
name: "cargo test | macos"
Expand Down Expand Up @@ -297,14 +298,13 @@ jobs:
run: |
Set-Alias -Name uv -Value ./target/debug/uv
Set-Alias -Name uvx -Value ./target/debug/uvx
(& $uv generate-shell-completion powershell) | Out-String | Invoke-Expression
(& $uvx --generate-shell-completion powershell) | Out-String | Invoke-Expression
(& uv generate-shell-completion powershell) | Out-String | Invoke-Expression
(& uvx --generate-shell-completion powershell) | Out-String | Invoke-Expression
- name: "Test completion"
shell: bash -e
shell: bash -e {0}
run: |
false # stop early
false # early stop
- name: "Install cargo nextest"
uses: taiki-e/install-action@v2
Expand All @@ -330,7 +330,7 @@ jobs:
windows-trampoline-check:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on: ubuntu-latest
name: "check windows trampoline | ${{ matrix.target-arch }}"
strategy:
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:
windows-trampoline-test:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on: windows-latest
name: "test windows trampoline | ${{ matrix.target-arch }}"
strategy:
Expand Down Expand Up @@ -425,6 +425,7 @@ jobs:

docs:
timeout-minutes: 10
if: false
name: "mkdocs"
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -453,7 +454,7 @@ jobs:
build-binary-linux:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on:
labels: ubuntu-latest-large
name: "build binary | linux"
Expand Down Expand Up @@ -481,7 +482,7 @@ jobs:
build-binary-macos-aarch64:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on:
labels: macos-14
name: "build binary | macos aarch64"
Expand All @@ -504,7 +505,7 @@ jobs:
build-binary-macos-x86_64:
timeout-minutes: 10
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on:
labels: macos-14-large
name: "build binary | macos x86_64"
Expand All @@ -527,7 +528,7 @@ jobs:
build-binary-windows:
needs: determine_changes
timeout-minutes: 10
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: false
runs-on:
labels: windows-latest-large
name: "build binary | windows"
Expand Down Expand Up @@ -560,6 +561,7 @@ jobs:
ecosystem-test:
timeout-minutes: 10
needs: build-binary-linux
if: false
name: "ecosystem test | ${{ matrix.repo }}"
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -596,6 +598,7 @@ jobs:
integration-test-conda:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "integration test | conda on ubuntu"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -627,6 +630,7 @@ jobs:
integration-test-pypy-linux:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "integration test | pypy on ubuntu"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -691,6 +695,7 @@ jobs:
integration-test-pypy-windows:
timeout-minutes: 10
if: false
needs: build-binary-windows
name: "integration test | pypy on windows"
runs-on: windows-latest
Expand Down Expand Up @@ -754,6 +759,7 @@ jobs:
integration-test-graalpy-linux:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "integration test | graalpy on ubuntu"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -824,6 +830,7 @@ jobs:
integration-test-graalpy-windows:
timeout-minutes: 10
if: false
needs: build-binary-windows
name: "integration test | graalpy on windows"
runs-on: windows-latest
Expand Down Expand Up @@ -921,6 +928,7 @@ jobs:
cache-test-ubuntu:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check cache | ubuntu"
runs-on: ubuntu-latest
Expand All @@ -947,6 +955,7 @@ jobs:

cache-test-macos-aarch64:
timeout-minutes: 10
if: false
needs: build-binary-macos-aarch64
name: "check cache | macos aarch64"
runs-on: macos-14
Expand All @@ -969,6 +978,7 @@ jobs:

system-test-debian:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | python on debian"
runs-on: ubuntu-latest
Expand All @@ -995,6 +1005,7 @@ jobs:

system-test-fedora:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | python on fedora"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1047,6 +1058,7 @@ jobs:

system-test-opensuse:
timeout-minutes: 5
if: false
needs: build-binary-linux
name: "check system | python on opensuse"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1083,6 +1095,7 @@ jobs:
# and avoids issues with centos stream uptime concerns
system-test-rocky-linux:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | python on rocky linux ${{ matrix.rocky-version }}"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1146,6 +1159,7 @@ jobs:

system-test-pyston:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | pyston"
runs-on: ubuntu-latest
Expand All @@ -1169,6 +1183,7 @@ jobs:

system-test-alpine:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | alpine"
runs-on: ubuntu-latest
Expand All @@ -1195,6 +1210,7 @@ jobs:

system-test-macos-aarch64:
timeout-minutes: 10
if: false
needs: build-binary-macos-aarch64
name: "check system | python on macos aarch64"
runs-on: macos-14
Expand All @@ -1219,6 +1235,7 @@ jobs:

system-test-macos-aarch64-homebrew:
timeout-minutes: 10
if: false
needs: build-binary-macos-aarch64
name: "check system | homebrew python on macos aarch64"
runs-on: macos-14
Expand All @@ -1244,6 +1261,7 @@ jobs:

system-test-macos-x86_64:
timeout-minutes: 10
if: false
needs: build-binary-macos-x86_64
name: "check system | python on macos x86_64"
runs-on: macos-12
Expand All @@ -1270,6 +1288,7 @@ jobs:

system-test-windows-python-310:
timeout-minutes: 10
if: false
needs: build-binary-windows
name: "check system | python3.10 on windows"
runs-on: windows-latest
Expand Down Expand Up @@ -1323,6 +1342,7 @@ jobs:

system-test-windows-python-313:
timeout-minutes: 10
if: false
needs: build-binary-windows
name: "check system | python3.13 on windows"
runs-on: windows-latest
Expand Down Expand Up @@ -1351,6 +1371,7 @@ jobs:

system-test-choco:
timeout-minutes: 10
if: false
needs: build-binary-windows
name: "check system | python3.12 via chocolatey"
runs-on: windows-latest
Expand All @@ -1376,6 +1397,7 @@ jobs:

system-test-pyenv:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | python3.9 via pyenv"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1403,6 +1425,7 @@ jobs:

system-test-linux-313:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | python3.13"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1430,6 +1453,7 @@ jobs:

system-test-conda:
timeout-minutes: 10
if: false
needs:
[build-binary-windows, build-binary-macos-aarch64, build-binary-linux]
name: check system | conda${{ matrix.python-version }} on ${{ matrix.os }}
Expand Down Expand Up @@ -1482,6 +1506,7 @@ jobs:

system-test-amazonlinux:
timeout-minutes: 10
if: false
needs: build-binary-linux
name: "check system | amazonlinux"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1511,6 +1536,7 @@ jobs:

system-test-windows-embedded-python-310:
timeout-minutes: 10
if: false
needs: build-binary-windows
name: "check system | embedded python3.10 on windows"
runs-on: windows-latest
Expand Down Expand Up @@ -1546,8 +1572,8 @@ jobs:

benchmarks:
runs-on: ubuntu-latest
if: false
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
timeout-minutes: 20
steps:
- name: "Checkout Branch"
Expand Down

0 comments on commit 6138e66

Please sign in to comment.