Skip to content

Commit

Permalink
Resume v2.1.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Feb 8, 2024
1 parent 88dec94 commit 351ce22
Showing 1 changed file with 0 additions and 173 deletions.
173 changes: 0 additions & 173 deletions .github/workflows/ci.yml
Expand Up @@ -8,180 +8,7 @@ on:
pull_request:

jobs:
compile-all:
runs-on: ubuntu-latest
name: Compile everything
steps:
- name: Don't convert LF to CRLF during checkout
if: runner.os == 'Windows'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.4
- uses: coursier/setup-action@v1.3.0
with:
jvm: "temurin:17"
version: "2.1.0"
- run: ./mill -i __.compile

compile-all-no-package-object:
runs-on: ubuntu-latest
name: Compile everything (no package object)
steps:
- name: Don't convert LF to CRLF during checkout
if: runner.os == 'Windows'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.4
- uses: coursier/setup-action@v1.3.0
with:
jvm: "temurin:17"
version: "2.1.0"
- run: |
test -e modules/coursier/shared/src/main/scala/coursier/package.scala
rm -f modules/coursier/shared/src/main/scala/coursier/package.scala
./mill -i __.compile
test:
runs-on: ${{ matrix.OS }}
name: ${{ matrix.OS }} Scala ${{ matrix.SCALA_VERSION }} JDK ${{ matrix.JDK }}
strategy:
fail-fast: false
matrix:
OS: ["ubuntu-latest"]
JDK: ["8"]
SCALA_VERSION: ["2.12.18"]
include:
- JDK: "8"
SCALA_VERSION: "2.12.18"
OS: "windows-latest"
- JDK: "8"
SCALA_VERSION: "2.13.12"
OS: "ubuntu-latest"
- JDK: "17"
SCALA_VERSION: "2.12.18"
OS: "ubuntu-latest"
steps:
- name: Don't convert LF to CRLF during checkout
if: runner.os == 'Windows'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.4
- uses: coursier/setup-action@v1.3.0
with:
jvm: ${{ matrix.JDK }}
version: "2.1.0"
- run: sudo apt-get install -y nailgun
if: runner.os == 'Linux'
# - run: .github/scripts/scala-native-setup.sh
# if: runner.os != 'Windows'
- run: ./mill -i jvmTests "$SCALA_VERSION"
shell: bash
env:
SCALA_VERSION: ${{ matrix.SCALA_VERSION }}
COURSIER_JNI: force

js-test:
runs-on: ubuntu-latest
name: Scala.JS Scala ${{ matrix.SCALA_VERSION }}
strategy:
fail-fast: false
matrix:
SCALA_VERSION: ["2.12.18", "2.13.12"]
steps:
- name: Don't convert LF to CRLF during checkout
if: runner.os == 'Windows'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: '12'
- uses: coursier/cache-action@v6.4
- uses: coursier/setup-action@v1.3.0
with:
jvm: 8
version: "2.1.0"
- run: npm install && ./mill -i jsTests "$SCALA_VERSION"
shell: bash
env:
SCALA_VERSION: ${{ matrix.SCALA_VERSION }}

bin-compat:
runs-on: ubuntu-latest
name: Binary compatibility
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.4
- uses: coursier/setup-action@v1.3.0
with:
jvm: 8
version: "2.1.0"
- run: ./mill -i -k __.mimaReportBinaryIssues

website-check:
runs-on: ubuntu-latest
name: Website check
steps:
- name: Don't convert LF to CRLF during checkout
if: runner.os == 'Windows'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: '12'
- uses: coursier/cache-action@v6.4
- uses: coursier/setup-action@v1.3.0
with:
jvm: 17
version: "2.1.0"
- run: ./mill -i doc.generate --npm-install --yarn-run-build
env:
COURSIER_JNI: force

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6.4
- uses: coursier/setup-action@v1.3.0
with:
jvm: 8
apps: scalafmt
version: "2.1.0"
- run: scalafmt --check

publish:
needs: ["compile-all", "test", "js-test", "bin-compat", "website-check", "format"]
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 351ce22

Please sign in to comment.