reproduce bug in sbt/sbt-assembly/issues/475 #106
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
java: 8 | |
jobtype: 1 | |
- os: ubuntu-latest | |
java: 11 | |
jobtype: 1 | |
- os: ubuntu-latest | |
java: 11 | |
jobtype: 2 | |
runs-on: ${{ matrix.os }} | |
env: | |
# define Java options for both official sbt and sbt-extras | |
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: "${{ matrix.java }}" | |
cache: sbt | |
- name: Build and test (1) | |
if: ${{ matrix.jobtype == 1 }} | |
shell: bash | |
run: | | |
sbt -v -Dfile.encoding=UTF8 "jarjar/publishLocal" "jarjar/IntegrationTest/test" "+test" "publishLocal;scripted" | |
- name: Build and test (2) | |
if: ${{ matrix.jobtype == 2 }} | |
shell: bash | |
run: | | |
sbt -v -Dfile.encoding=UTF8 scalafmtCheckAll | |
ea-test: | |
runs-on: ubuntu-latest | |
env: | |
# define Java options for both official sbt and sbt-extras | |
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 22-ea | |
distribution: temurin | |
jdkFile: https://download.java.net/java/early_access/jdk22/20/GPL/openjdk-22-ea+20_linux-x64_bin.tar.gz | |
cache: sbt | |
- name: Build and test | |
shell: bash | |
run: | | |
sbt -v -Dfile.encoding=UTF8 "jarjar/publishLocal" "jarjar/IntegrationTest/test" "+test" "publishLocal;scripted" |