From 4b9c8c4cc303e41303f8edb678b671c1d4c48068 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Tue, 8 Oct 2024 13:34:22 -0400 Subject: [PATCH] ci: run tests only on `1.10` for now --- .buildkite/benchmarks.yml | 14 +++++++------- .buildkite/testing.yml | 13 ++++++------- .github/workflows/CI.yml | 38 +++++++++++++++++--------------------- 3 files changed, 30 insertions(+), 35 deletions(-) diff --git a/.buildkite/benchmarks.yml b/.buildkite/benchmarks.yml index 0ca52de2..003a4e71 100644 --- a/.buildkite/benchmarks.yml +++ b/.buildkite/benchmarks.yml @@ -5,13 +5,13 @@ steps: matrix: setup: threads: - - "1" + - "1.10" - "2" - "4" - "8" plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" command: | julia --project=benchmarks -e 'println("--- :julia: Instantiating project") using Pkg @@ -34,7 +34,7 @@ steps: soft_fail: true plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" command: | julia --project=benchmarks -e 'println("--- :julia: Instantiating project") using Pkg @@ -58,7 +58,7 @@ steps: - label: "CUDA: Run Benchmarks" plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" command: | julia --project=benchmarks -e 'println("--- :julia: Instantiating project") using Pkg @@ -84,7 +84,7 @@ steps: soft_fail: true plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" command: | julia --project=benchmarks -e 'println("--- :julia: Instantiating project") using Pkg @@ -110,7 +110,7 @@ steps: soft_fail: true plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" command: | julia --project=benchmarks -e 'println("--- :julia: Instantiating project") using Pkg @@ -137,7 +137,7 @@ steps: - label: "Combine benchmarks" plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" command: | buildkite-agent artifact download "benchmarks/results/*" . diff --git a/.buildkite/testing.yml b/.buildkite/testing.yml index 2146ea94..a4cfaa6e 100644 --- a/.buildkite/testing.yml +++ b/.buildkite/testing.yml @@ -22,7 +22,7 @@ steps: matrix: setup: julia: - - "1" + - "1.10" - group: ":julia: AMD GPU" steps: @@ -49,7 +49,7 @@ steps: matrix: setup: julia: - - "1" + - "1.10" # - group: ":julia: Metal GPU" # steps: @@ -76,7 +76,7 @@ steps: # matrix: # setup: # julia: - # - "1" + # - "1.10" # - group: ":julia: oneAPI GPU" # steps: @@ -102,14 +102,14 @@ steps: # matrix: # setup: # julia: - # - "1" + # - "1.10" - group: ":telescope: Downstream CUDA" steps: - label: ":julia: {{matrix.repo}} (Julia 1 + CUDA GPU)" plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" - JuliaCI/julia-coverage#v1: codecov: true dirs: @@ -132,7 +132,7 @@ steps: - label: ":julia: {{matrix.repo}} (Julia 1 + AMD GPU)" plugins: - JuliaCI/julia#v1: - version: "1" + version: "1.10" - JuliaCI/julia-coverage#v1: codecov: true dirs: @@ -154,6 +154,5 @@ steps: - "Lux" env: - RETESTITEMS_TESTITEM_TIMEOUT: 3600 JULIA_PKG_SERVER: "" SECRET_CODECOV_TOKEN: "wMpDLaAVEHe6EJAc+LZBl4jF3wADVN6F+15vr/ONJHOv/XXbtYovuc1PCQwhz0AzZjWpSO12IDTyKfwVgYvqaGYfQ9yGyplJtSu2MiL2k44B/IY+wEZhsfkBIhXlG89si5A/I+/f8T8QuwxBqBLh8fYq7oxC+gNzKhbj8vIT4n5hCusvYYGufgKRC2U9P4ij0Sf40egQ5B+StaTykqJNq1163UARjNBypHIVDbYE0HUHiF7WB4eI5LxBBzlcHmsUkuGp6ZlqAu/8C83k65lwDnyHDfjvBM24q9GQTDFA5r7RUfYKHElQEBPk3GhoJn7XGIfD2pC0VNcw5jYCwsX2mw==;U2FsdGVkX1+euKMib66zno5Kkw7OxXo6v4RnkAA/HElJM46qfX17VgZ9iVLg45jOOWRgghmyYuy2WQ8RcVbuOg==" diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d85817bd..d34f1475 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -24,16 +24,13 @@ jobs: name: Julia ${{ matrix.version }} - ${{ matrix.test_group }} - ${{ matrix.os }} - ${{ matrix.blas_backend }} if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }} runs-on: ${{ matrix.os }} - timeout-minutes: 60 strategy: fail-fast: false matrix: version: - - "1" + - "1.10" os: - ubuntu-latest - - macos-latest - - windows-latest test_group: - "conv" - "dense" @@ -46,22 +43,27 @@ jobs: - "others" blas_backend: - "default" - exclude: - - os: macos-latest - test_group: "conv" # Never terminates include: - os: ubuntu-latest test_group: "dense" blas_backend: "blis" - version: "1" + version: "1.10" - os: ubuntu-latest test_group: "dense" blas_backend: "mkl" - version: "1" + version: "1.10" - os: macos-latest test_group: "dense" blas_backend: "appleaccelerate" - version: "1" + version: "1.10" + - os: macos-latest + test_group: "all" + blas_backend: "default" + version: "1.10" + - os: windows-latest + test_group: "all" + blas_backend: "default" + version: "1.10" steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 @@ -95,16 +97,13 @@ jobs: downstream: name: Downstream ${{ matrix.package.repo }}/${{ matrix.package.group }} if: ${{ !contains(github.event.head_commit.message, '[skip tests]') && github.base_ref == github.event.repository.default_branch }} - runs-on: ${{ matrix.os }} - timeout-minutes: 60 + runs-on: ubuntu-latest env: GROUP: ${{ matrix.package.group }} LUX_TEST_GROUP: ${{ matrix.package.group }} strategy: fail-fast: false matrix: - julia-version: ["1"] - os: [ubuntu-latest] package: - { user: LuxDL, repo: Lux.jl, group: "core_layers" } - { user: LuxDL, repo: Lux.jl, group: "contrib" } @@ -116,12 +115,12 @@ jobs: - { user: LuxDL, repo: Lux.jl, group: "recurrent_layers" } - { user: LuxDL, repo: Lux.jl, group: "eltype_match" } - { user: LuxDL, repo: Lux.jl, group: "fluxcompat" } - - { user: LuxDL, repo: Boltz.jl, group: All } + - { user: LuxDL, repo: Boltz.jl, group: "all" } steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: - version: ${{ matrix.julia-version }} + version: "1.10" arch: x64 - uses: julia-actions/julia-buildpkg@v1 - name: Clone Downstream @@ -156,14 +155,11 @@ jobs: downgrade: if: ${{ !contains(github.event.head_commit.message, '[skip tests]') && github.base_ref == github.event.repository.default_branch }} - name: Downgrade Julia ${{ matrix.version }} - ${{ matrix.test_group }} + name: Downgrade Julia - ${{ matrix.test_group }} runs-on: ubuntu-latest - timeout-minutes: 60 strategy: fail-fast: false matrix: - version: - - "1" test_group: - "conv" - "dense" @@ -178,7 +174,7 @@ jobs: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: - version: ${{ matrix.version }} + version: "1.10" - uses: julia-actions/julia-downgrade-compat@v1 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1