2024-03-01 11:51:17 -06:00
|
|
|
name: Compile & Formatting, Docs, Disabled Secp
|
2020-12-14 06:37:09 -06:00
|
|
|
env:
|
|
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
compile:
|
|
|
|
runs-on: ubuntu-latest
|
2021-04-18 09:02:49 -05:00
|
|
|
timeout-minutes: 60
|
2024-03-01 11:51:17 -06:00
|
|
|
env:
|
|
|
|
DISABLE_SECP256K1: "true"
|
2020-12-14 06:37:09 -06:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
2021-03-08 08:47:15 -06:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-12-14 06:37:09 -06:00
|
|
|
- name: Setup Scala
|
2022-07-08 13:43:17 -05:00
|
|
|
uses: actions/setup-java@v3
|
2021-04-28 16:21:09 -05:00
|
|
|
with:
|
2022-07-08 13:43:17 -05:00
|
|
|
distribution: 'adopt'
|
2024-04-04 17:09:45 -05:00
|
|
|
java-version: '21'
|
2022-07-08 13:43:17 -05:00
|
|
|
cache: 'sbt'
|
2023-12-16 12:24:25 -06:00
|
|
|
- name: Cache
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.ivy2/cache
|
|
|
|
~/.sbt
|
|
|
|
~/.bitcoin-s/binaries
|
|
|
|
key: ${{ runner.os }}-compile-cache
|
2020-12-14 06:37:09 -06:00
|
|
|
- name: Compile and Check Formatting
|
2024-05-09 11:12:07 -05:00
|
|
|
run: sbt -J-Xmx4g +test:compile scalafmtCheckAll cryptoTestJVM/test coreTestJVM/test appServer/universal:packageBin oracleServer/universal:packageBin cli/universal:packageBin docs/mdoc
|