Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[don't merge] fullOpt compilation test #893

Draft
wants to merge 3 commits into
base: v5.0.13-RC
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

- name: JS Build
run: sbt -jvm-opts ci/ci.jvmopts ++${{ matrix.scala }} scJS/fastOptJS
run: sbt -jvm-opts ci/ci.jvmopts ++${{ matrix.scala }} scJS/fullOptJS

- name: Runs JS tests
run: npm run test
Expand Down
3 changes: 1 addition & 2 deletions sigma-js/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ const config = {
transform: {}, // reduce non-cached test time by about 20x by disabling babel code transformation
moduleDirectories: ["<rootDir>/node_modules"],
moduleNameMapper: {
"sigmastate-js/main":
"<rootDir>/../sc/js/target/scala-2.13/sc-fastopt/main.js",
"sigmastate-js/main": "<rootDir>/../sc/js/target/scala-2.13/sc-opt/main.js",
},
};

Expand Down
2 changes: 1 addition & 1 deletion sigma-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"test": "jest",
"clean": "shx rm -rf ./dist/*",
"copy-output": "shx mkdir -p ./dist/ && cp -r ../sc/js/target/scala-2.13/sc-fastopt/* ./dist/",
"copy-output": "shx mkdir -p ./dist/ && cp -r ../sc/js/target/scala-2.13/sc-opt/* ./dist/",
"prepublishOnly": "npm run clean && npm run copy-output",
"ci:snapshot": "node ./scripts/setSnapshotVersion"
},
Expand Down