forked from bitcoin-s/bitcoin-s
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.13 KB
/
Compile.yml
File metadata and controls
38 lines (36 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Compile & Formatting, Docs, Disabled Secp
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
on:
pull_request:
jobs:
compile:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
DISABLE_SECP256K1: "true"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v3
with:
# for some reason there seems to be a bug in the temurin runtime with jlink/jdeps
# this can likely be reverted back to temurin in the future
distribution: 'zulu'
java-version: '25'
cache: 'sbt'
- name: Install sbt
uses: sbt/setup-sbt@v1
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
~/.bitcoin-s/binaries
key: ${{ runner.os }}-compile-cache
- name: Compile and Check Formatting
run: sbt +test:compile scalafmtCheckAll cryptoTestJVM/test coreTestJVM/test appServer/universal:packageBin oracleServer/universal:packageBin cli/universal:packageBin docs/mdoc