Merge pull request #6076 from eed3si9n/wip/bogusbuild

Preparatory GitHub Actions
This commit is contained in:
eugene yokota 2020-11-08 19:16:25 -05:00 committed by GitHub
commit 5e9677e338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 0 deletions

35
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: CI
on:
pull_request:
push:
jobs:
test:
strategy:
matrix:
include:
- os: ubuntu-latest
java: 8
jobtype: 1
- os: ubuntu-latest
java: 11
jobtype: 1
runs-on: ${{ matrix.os }}
env:
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup
uses: olafurpg/setup-scala@v10
with:
java-version: "adopt@1.${{ matrix.java }}"
- 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
run: echo hello GitHub