Skip to content

Nightly Pekko 1.0 Builds #136

Nightly Pekko 1.0 Builds

Nightly Pekko 1.0 Builds #136

name: Nightly Pekko 1.0 Builds
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions: {}
concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: pekko-1.1-${{ github.ref }}
cancel-in-progress: true
jobs:
test-compile:
name: Compile
runs-on: ubuntu-22.04
if: github.repository == 'apache/pekko-connectors'
strategy:
fail-fast: false
matrix:
JDK: [ 8, 11, 17, 21 ]
env:
JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Setup Java ${{ matrix.JDK }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.JDK }}
- name: Install sbt
uses: sbt/setup-sbt@v1
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- name: "compile, including tests. Run locally with: sbt -Dpekko.build.pekko.version=1.0.x -Dpekko.build.pekko.http.version=1.0.x +Test/compile"
run: sbt -Dpekko.build.pekko.version=1.0.x -Dpekko.build.pekko.http.version=1.0.x +Test/compile