-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rel/0.1.4-test28
- Loading branch information
Showing
102 changed files
with
3,901 additions
and
1,183 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 |
---|---|---|
|
@@ -13,6 +13,12 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
|
||
- name: Set up GCC | ||
uses: egor-tensin/setup-gcc@v1 | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -36,6 +42,12 @@ jobs: | |
acceptanceTest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
|
||
- name: Set up GCC | ||
uses: egor-tensin/setup-gcc@v1 | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -54,46 +66,50 @@ jobs: | |
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-report | ||
name: acceptance-test-report | ||
path: acceptance-tests/build/reports/tests/ | ||
|
||
tests: | ||
libCompressTest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.CONSTRAINTS_SSH_KEY }} | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
|
||
- name: Set up GCC | ||
uses: egor-tensin/setup-gcc@v1 | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
|
||
# The asset URL for the latest release can be found with: | ||
# curl -L -H "Accept: application/vnd.github+json" \ | ||
# -H "Authorization: Bearer YOUR_GH_API_TOKEN" \ | ||
# -H "X-GitHub-Api-Version: 2022-11-28" \ | ||
# https://api.github.com/repos/ConsenSys/corset/releases/latest | ||
# | jq '.assets[] | select(.name|endswith("x86_64-unknown-linux-musl.tar.gz")) | .url' | ||
- name: Install Corset | ||
run: | | ||
curl -L \ | ||
-H "Accept: application/octet-stream" \ | ||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
-o corset.tar.gz \ | ||
https://api.github.com/repos/Consensys/corset/releases/assets/147491099 | ||
tar xzf corset.tar.gz | ||
mv corset $HOME | ||
echo $HOME >> $GITHUB_PATH | ||
- name: Run libcompress JNI tests | ||
run: ./gradlew :native:compress:test | ||
env: | ||
JAVA_OPTS: -Dorg.gradle.daemon=false | ||
|
||
- name: Upload test report | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: compress-test-report | ||
path: compress/build/reports/tests/ | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
|
||
- name: Run unit tests | ||
run: ./gradlew :arithmetization:test | ||
|
@@ -103,8 +119,8 @@ jobs: | |
- name: Upload test report | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-report | ||
path: build/reports/tests/ | ||
name: unit-test-report | ||
path: arithmetization/build/reports/tests/ | ||
|
||
spotless: | ||
runs-on: ubuntu-latest | ||
|
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
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
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
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.