-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to support SEAL 4.1.0 * Update to SEAL 4.1.0, update dev deps * fix benchmark * update seal * updated readme * remove unused tests * update CI
- Loading branch information
Showing
13 changed files
with
2,391 additions
and
1,977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,26 +2,26 @@ name: CI | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
pull_request: | ||
branches: [ main ] | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Pull & update submodules | ||
run: | | ||
git submodule update --init | ||
- name: EMSDK Version | ||
id: emsdk-version | ||
run: | | ||
echo "::set-output name=SHA::$(./submodules/emsdk/emsdk list | grep recommended | awk -F'[()]' '{print $2}')" | ||
echo "::set-output name=SHA::$(./submodules/emsdk/emsdk list | grep recommended | awk -F'[()]' '{print $2}')" | ||
- name: Cache EMSDK | ||
id: cache-emsdk | ||
uses: actions/cache@v2.1.7 | ||
uses: actions/cache@v3 | ||
with: | ||
path: submodules/emsdk | ||
key: ${{ runner.os }}-c-emsdk-${{ steps.emsdk-version.outputs.SHA }} | ||
|
@@ -31,7 +31,7 @@ jobs: | |
if: steps.cache-emsdk.outputs.cache-hit != 'true' | ||
run: | | ||
npm run em:update | ||
- name: Compile SEAL | ||
if: steps.cache-seal.outputs.cache-hit != 'true' | ||
run: | | ||
|
@@ -49,21 +49,21 @@ jobs: | |
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
node-version: '18' | ||
|
||
- name: Cache NPM Dependencies | ||
id: cache-npm | ||
uses: actions/cache@v2.1.7 | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-c-node-${{ hashFiles('package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-c-node- | ||
- name: Install NPM Dependencies | ||
run: | | ||
npm install | ||
|
@@ -73,7 +73,7 @@ jobs: | |
with: | ||
name: seal-artifacts | ||
path: src/bin/ | ||
|
||
- name: Transpile to JavaScript | ||
run: | | ||
npm run compile | ||
|
@@ -84,6 +84,4 @@ jobs: | |
run: | | ||
npm run coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
|
||
|
||
uses: codecov/codecov-action@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.