Add GH Actions JDKx nightly jobs
* Use inline sbt args * Prefer ubuntu LTS * Link to tagging issue
This commit is contained in:
parent
3a76aa1ad2
commit
0db77be97f
4 changed files with 148 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ jobs:
|
|||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.2
|
||||
|
||||
## https://github.com/akka/akka/issues/30459
|
||||
# ghtag "$ghprbPullId" akka akka '["validating"]' "tested needs-attention"
|
||||
|
||||
- name: Code style check
|
||||
|
|
@ -44,7 +45,7 @@ jobs:
|
|||
scalafmtCheckAll scalafmtSbtCheck test:compile
|
||||
|
||||
Check-Publish:
|
||||
name: PR Validation
|
||||
name: Check publishing locally
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -114,6 +115,7 @@ jobs:
|
|||
-Dakka.log.timestamps=true \
|
||||
${{ matrix.project }}/validatePullRequest
|
||||
|
||||
## https://github.com/akka/akka/issues/30459
|
||||
## if success
|
||||
# ghtag "$ghprbPullId" akka akka '["tested"]' "validating needs-attention"
|
||||
## if aborted or unstable
|
||||
|
|
|
|||
46
.github/workflows/nightly-jdk11.yml
vendored
Normal file
46
.github/workflows/nightly-jdk11.yml
vendored
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
name: Nightly jkd11
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 6 * * *'
|
||||
|
||||
jobs:
|
||||
compile-and-test:
|
||||
name: Compile and test
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v10
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.2
|
||||
|
||||
- name: Compile and test for JDK11
|
||||
run: |-
|
||||
sbt -jvm-opts .jvmopts-ci \
|
||||
-Dakka.test.timefactor=1 \
|
||||
-Dakka.genjavadoc.enabled=true \
|
||||
-Dakka.test.multi-in-test=false \
|
||||
clean test checkTestsHaveRun
|
||||
|
||||
- name: Email on failure
|
||||
if: ${{ failure() }}
|
||||
uses: dawidd6/action-send-mail@v3
|
||||
with:
|
||||
server_address: smtp.gmail.com
|
||||
server_port: 465
|
||||
username: ${{secrets.MAIL_USERNAME}}
|
||||
password: ${{secrets.MAIL_PASSWORD}}
|
||||
subject: Nightly jkd11 Failed (Akka)
|
||||
to: akka.official@gmail.com
|
||||
from: Akka CI (GHActions)
|
||||
body: |
|
||||
Nightly jkd11 of ${{github.repository}} failed!
|
||||
https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|
||||
47
.github/workflows/nightly-jdk8-scala2.13.yml
vendored
Normal file
47
.github/workflows/nightly-jdk8-scala2.13.yml
vendored
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
name: Nightly jdk8/scala2.13
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 20 * * *'
|
||||
|
||||
jobs:
|
||||
compile-and-test:
|
||||
name: Compile and test
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 8
|
||||
uses: olafurpg/setup-scala@v10
|
||||
with:
|
||||
java-version: adopt@1.8.0
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.2
|
||||
|
||||
- name: Compile and test for JDK8 (scala2.13)
|
||||
run: |-
|
||||
# TODO: restore -Dakka.test.multi-node.java=/usr/lib/jvm/jdk8u192-b12/bin/java
|
||||
sbt -jvm-opts .jvmopts-ci \
|
||||
-Dakka.ci-server=true \
|
||||
-Dakka.build.scalaVersion=2.13.3 \
|
||||
-Dakka.test.timefactor=1 \
|
||||
-Dakka.cluster.assert=on \
|
||||
clean compile test doc
|
||||
|
||||
- name: Email on failure
|
||||
if: ${{ failure() }}
|
||||
uses: dawidd6/action-send-mail@v3
|
||||
with:
|
||||
server_address: smtp.gmail.com
|
||||
server_port: 465
|
||||
username: ${{secrets.MAIL_USERNAME}}
|
||||
password: ${{secrets.MAIL_PASSWORD}}
|
||||
subject: Nightly jdk8/scala2.13 Failed (Akka)
|
||||
to: akka.official@gmail.com
|
||||
from: Akka CI (GHActions)
|
||||
body: |
|
||||
Nightly jdk8/scala2.13 of ${{github.repository}} failed!
|
||||
https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|
||||
52
.github/workflows/nightly-jdk8.yml
vendored
Normal file
52
.github/workflows/nightly-jdk8.yml
vendored
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
name: Nightly jkd8
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4,21 * * *'
|
||||
|
||||
jobs:
|
||||
compile-and-test:
|
||||
name: Compile and test
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 8
|
||||
uses: olafurpg/setup-scala@v10
|
||||
with:
|
||||
java-version: adopt@$1.8.0
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.2
|
||||
|
||||
- name: Compile and test for JDK ${{ matrix.JABBA_JDK }}, Scala ${{ matrix.SCALA_VERSION }}
|
||||
run: |-
|
||||
## TODO: restore the multi-node tests
|
||||
sbt -jvm-opts .jvmopts-ci \
|
||||
-Dakka.ci-server=true \
|
||||
-Dakka.test.timefactor=1 \
|
||||
-Dakka.cluster.assert=on \
|
||||
-Dakka.test.metrics.reporters.0=console \
|
||||
-Dakka.test.metrics.reporters.1=graphit \
|
||||
-Dakka.test.metrics.reporter.graphite.prefix=jenkins \
|
||||
-Dakka.test.metrics.reporter.graphite.host=54.72.154.120 \
|
||||
-Dakka.sbt.statsd=false \
|
||||
clean update whitesourceUpdate whitesourceCheckPolicies test:compile test publishLocal publishM2
|
||||
|
||||
- name: Email on failure
|
||||
if: ${{ failure() }}
|
||||
uses: dawidd6/action-send-mail@v3
|
||||
with:
|
||||
server_address: smtp.gmail.com
|
||||
server_port: 465
|
||||
username: ${{secrets.MAIL_USERNAME}}
|
||||
password: ${{secrets.MAIL_PASSWORD}}
|
||||
subject: Nightly jdk8 Failed (Akka)
|
||||
to: akka.official@gmail.com
|
||||
from: Akka CI (GHActions)
|
||||
body: |
|
||||
Nightly jdk8 of ${{github.repository}} failed!
|
||||
https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue