Skip to content

Commit

Permalink
Merge pull request #118 from eed3si9n/wip/actions0
Browse files Browse the repository at this point in the history
Preliminary GitHub Actions
  • Loading branch information
eed3si9n committed Nov 27, 2020
2 parents 7d9f4b0 + 46a4b4a commit c1b996c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflow/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

name: CI
on:
pull_request:
push:

jobs:
test:
fail-fast: false
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 -Dfile.encoding=UTF-8
steps:
- name: Checkout
uses: actions/checkout@v2
- 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

0 comments on commit c1b996c

Please sign in to comment.