move to launcher-package/

This commit is contained in:
Eugene Yokota 2021-04-19 10:45:29 -04:00
parent 8b67a07007
commit eb1c5461de
44 changed files with 0 additions and 118 deletions

1
.gitattributes vendored
View File

@ -1 +0,0 @@
src/windows/sbtconfig.txt eol=crlf

View File

@ -1,9 +0,0 @@
---
name: No new issues
about: Use https://github.com/sbt/sbt/issues/new/choose instead
---
No new issues should be opened against this repo.
Please use https://github.com/sbt/sbt/issues/new/choose to file an issue against sbt.

View File

@ -1,81 +0,0 @@
name: CI
on:
pull_request:
push:
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
java: 8
jobtype: 1
- os: macos-latest
java: 8
jobtype: 2
- os: windows-latest
java: 8
jobtype: 3
runs-on: ${{ matrix.os }}
env:
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
SBT_VER: 1.4.2
SBT_ETC_FILE: $HOME/etc/sbt/sbtopts
JDK11: adopt@1.11.0-9
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup
uses: olafurpg/setup-scala@v10
with:
java-version: "adopt@1.${{ matrix.java }}"
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Coursier cache
uses: coursier/cache-action@v5
- name: Cache sbt
uses: actions/cache@v1
with:
path: ~/.sbt
key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
- name: Build and test
shell: bash
run: |
case ${{ matrix.jobtype }} in
1)
echo build using JDK 8 test using JDK 8 and JDK 11
sbt -Dsbt.build.version=$SBT_VER rpm:packageBin debian:packageBin
sbt -Dsbt.build.version=$SBT_VER universal:packageBin universal:stage integrationTest/test
cd citest && ./test.sh
$HOME/bin/jabba install $JDK11 && exec $HOME/bin/jabba which --home $JDK11
java -Xmx32m -version
./test.sh
;;
2)
echo build using JDK 8, test using JDK 8, on macOS
bin/coursier resolve
sbt -Dsbt.build.version=$SBT_VER universal:packageBin universal:stage integrationTest/test
cd citest && ./test.sh
;;
3)
echo build using JDK 8, test using JDK 8, on Windows
bin/coursier.bat resolve
sbt -Dsbt.build.version=$SBT_VER universal:packageBin universal:stage integrationTest/test
cd citest
./test.bat
test3/test3.bat
;;
*)
echo unknown jobtype
exit 1
esac
rm -rf "$HOME/.ivy2/local" || true
rm -r $(find $HOME/.sbt/boot -name "*-SNAPSHOT") || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt -name "*.lock" -delete || true

15
.gitignore vendored
View File

@ -1,15 +0,0 @@
/SbtTemplateProject.scala
target
/project/boot
/project/metals.sbt
/.metals
/project/plugins
lib_managed
src_managed
/ext
.lib
/template-project/project/boot
*~
/citest/freshly-baked/
/upload/cookies
.bsp

View File

@ -1,12 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run integrationTest/test" type="SbtRunConfiguration" factoryName="sbt Task" show_console_on_std_err="false" show_console_on_std_out="false">
<option name="allowRunningInParallel" value="false" />
<option name="tasks" value="-Dsbt.build.version=1.3.0 universal:packageBin universal:stage integrationTest/test" />
<option name="useSbtShell" value="true" />
<option name="vmparams" value="-Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled" />
<option name="workingDir" value="$PROJECT_DIR$" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>