Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6eae6e7
scala-js: update dependencies
aslesarenko Sep 9, 2022
74d88c4
scala-js: added scorex.utils.Bytes, Ints, Longs
aslesarenko Sep 10, 2022
a16ff85
scala-js: added scorex.utils.Shorts, UnsignedBytes.scala
aslesarenko Sep 10, 2022
c4c0805
scala-js: removed org.whispersystems dependency and Curve25519
aslesarenko Sep 10, 2022
18736a6
scala-js: configure cross-platform sbt setup
aslesarenko Sep 11, 2022
b79798c
scala-js: update scorex-util dependency
aslesarenko Sep 26, 2022
89add8a
scala-js: remove unused declarations
aslesarenko Sep 26, 2022
c99a931
scala-js: remove scala-logging dependence
aslesarenko Sep 26, 2022
22b3dca
scala-js: move to JVM: Blake2b256Unsafe
aslesarenko Sep 26, 2022
4fe303b
scala-js: move to JVM: Blake2b512Specification
aslesarenko Sep 26, 2022
3b9ae72
scala-js: move to JVM: Blake2b512
aslesarenko Sep 26, 2022
2676e4b
scala-js: move to JVM: KeccakSpecification
aslesarenko Sep 26, 2022
e127667
scala-js: move to JVM: Keccak
aslesarenko Sep 26, 2022
054277f
scala-js: move to JVM: Whirlpool
aslesarenko Sep 26, 2022
0fbb8a8
scala-js: move to JVM: Stribog
aslesarenko Sep 26, 2022
cd4e049
scala-js: move to JVM: Skein + Sha256Unsafe
aslesarenko Sep 26, 2022
59eedd5
scala-js: move to JVM: CryptographicHash64 + ThreadUnsafeHash
aslesarenko Sep 26, 2022
6fa1d57
scala-js: reimplement Blake2b256 via Platform.scala
aslesarenko Sep 26, 2022
91b869f
scala-js: reimplement Sha256 via Platform.scala
aslesarenko Sep 26, 2022
727c7a8
scala-js: configure benchmarks project
aslesarenko Sep 26, 2022
dcd9953
scala-js: enable JSPlatform
aslesarenko Sep 26, 2022
e4a8d3e
scala-js: make code and tests compile
aslesarenko Sep 26, 2022
b9f974e
scala-js: Platform implemented for JS
aslesarenko Sep 27, 2022
546c402
scala-js: make all JS tests pass
aslesarenko Sep 27, 2022
dafca54
scala-js: setup ci.yml
aslesarenko Sep 27, 2022
27fb071
scala-js: ScalaJsSpec.scala added
aslesarenko Oct 9, 2022
e49a312
scala-js: more tests for ScalaJsSpec
aslesarenko Oct 20, 2022
e96eb00
scala-js: add Scala 2.12 to JS tests and publishing
aslesarenko Nov 16, 2022
95e9fa5
scala-js: replaced BouncycastleJs with @noble/hashes
aslesarenko Dec 30, 2022
a44a480
scala-js: release notes updated
aslesarenko Dec 30, 2022
b4526da
scala-js: ScalaDoc for BouncyCastleHash
aslesarenko Dec 30, 2022
5150edf
scala-js: add npmDependencies
aslesarenko Dec 30, 2022
8837261
scala-js: install npm CI action
aslesarenko Dec 31, 2022
cb2bee1
scala-js: fixes in release-notes.md
aslesarenko Jan 11, 2023
d54d1e1
scala-js: getting started guidelines in the Contributing section
aslesarenko Jan 11, 2023
0c84965
scala-js: addressed review comments
aslesarenko Jan 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
scala-js: setup ci.yml
  • Loading branch information
aslesarenko committed Sep 27, 2022
commit dafca54ce87c86a2d0819d23b499faf5262aa47a
51 changes: 47 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ env:

jobs:
build:
name: Test and publish a snapshot
name: JVM - Test and publish a snapshot
env:
HAS_SECRETS: ${{ secrets.SONATYPE_PASSWORD != '' }}
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.10, 2.11.12, 2.13.1]
scala: [2.13.8, 2.12.15, 2.11.12]
java: [[email protected]]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -48,11 +48,54 @@ jobs:
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Runs tests
run: sbt ++${{ matrix.scala }} test
run: sbt ++${{ matrix.scala }} scryptoJVM/test

- name: Publish a snapshot ${{ github.ref }}
if: env.HAS_SECRETS == 'true'
run: sbt ++${{ matrix.scala }} publish
run: sbt ++${{ matrix.scala }} scryptoJVM/publish
env:
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

buildJs:
name: JS - Test and publish a snapshot
env:
HAS_SECRETS: ${{ secrets.SONATYPE_PASSWORD != '' }}
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.8]
java: [[email protected]]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Java and Scala
uses: olafurpg/setup-scala@v10
with:
java-version: ${{ matrix.java }}

- name: Cache sbt
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache/v1
~/.cache/coursier/v1
~/AppData/Local/Coursier/Cache/v1
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Runs tests
run: sbt ++${{ matrix.scala }} scryptoJS/test

- name: Publish a snapshot ${{ github.ref }}
if: env.HAS_SECRETS == 'true'
run: sbt ++${{ matrix.scala }} scryptoJS/publish
env:
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}