From 47623729c8b23a8dbb6f4b068ea4351008872f71 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Mon, 3 Jun 2024 11:11:17 +0200 Subject: [PATCH] TMP Only run Windows jobs on CI --- .github/workflows/ci.yml | 71 +++------------------------------------- 1 file changed, 5 insertions(+), 66 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c46a48eb7..9d5ffa5dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - OS: ["ubuntu-latest", "windows-latest"] + OS: ["windows-latest"] steps: - uses: actions/checkout@v4 with: @@ -38,19 +38,9 @@ jobs: strategy: fail-fast: false matrix: - OS: [ubuntu-latest] + OS: [windows-latest] JDK: [8] - SCALA: [2.12.18, 2.12.19, 2.13.13, 2.13.14, 3.3.3] - include: - - OS: windows-latest - JDK: 8 - SCALA: 2.13.14 - - OS: macos-12 - JDK: 8 - SCALA: 2.13.14 - - OS: ubuntu-latest - JDK: 17 - SCALA: 2.12.19 + SCALA: [2.13.14] steps: - uses: actions/checkout@v4 with: @@ -71,7 +61,7 @@ jobs: strategy: fail-fast: false matrix: - OS: ["ubuntu-22.04", macos-12, windows-latest] + OS: [windows-latest] steps: - uses: actions/checkout@v4 with: @@ -84,33 +74,6 @@ jobs: - run: .github/scripts/run/run-its.sh shell: bash - bincompat: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - uses: coursier/setup-action@v1.3 - with: - jvm: 8 - - run: ./mill __.mimaReportBinaryIssues - shell: bash - - website: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - uses: coursier/setup-action@v1.3 - with: - jvm: 17 - apps: cs - - run: ./mill docs.generate - shell: bash - format: timeout-minutes: 15 runs-on: ubuntu-latest @@ -125,34 +88,10 @@ jobs: apps: scalafmt - run: scalafmt --check - publishLocal: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - uses: coursier/setup-action@v1.3 - with: - jvm: 8 - apps: - - run: | - mv .mill-jvm-opts .mill-jvm-opts.bak - echo "-Xmx2g" > .mill-jvm-opts - cat .mill-jvm-opts.bak | grep -v Xmx >> .mill-jvm-opts - # sometimes running into memory issues when attempting __.publishLocal upfront - for SV in $(./mill dev.scalaVersions); do - ./mill -i '__['"$SV"'].compile' - ./mill -i '__['"$SV"'].docJar' - ./mill -i '__['"$SV"'].publishLocal' - done - ./mill -i __.publishLocal - shell: bash - # job whose name doesn't change when we bump Scala versions, add OSes, … # We require this job for auto-merge. all-tests: - needs: [examples, bincompat, test, integration-tests, website, publishLocal] + needs: [examples, test, integration-tests] runs-on: ubuntu-latest steps: - run: true