-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4133 from iron-fish/staging
STAGING -> MASTER
- Loading branch information
Showing
194 changed files
with
11,947 additions
and
3,138 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 |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name: Build @ironfish binaries | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
settings: | ||
- host: macos-latest | ||
arch: x86_64 | ||
system: apple | ||
|
||
- host: windows-latest | ||
arch: x86_64 | ||
system: windows | ||
|
||
# requires 20.04 because ironfish depends on openssl 1.1.1, new ubuntu only allows 3.x | ||
- host: ubuntu-20.04 | ||
arch: x86_64 | ||
system: linux | ||
|
||
- host: [self-hosted, macOS, ARM64] | ||
arch: arm64 | ||
system: apple | ||
|
||
# currently no way to build arm64 | ||
# - host: ubuntu-20.04 | ||
# arch: aarch64 | ||
# system: linux | ||
|
||
|
||
# - host: ubuntu-20.04 | ||
# target: aarch64-apple-darwin | ||
|
||
name: Build ${{ matrix.settings.system }} ${{ matrix.settings.arch }} | ||
runs-on: ${{ matrix.settings.host }} | ||
steps: | ||
|
||
- name: clean selfhosted node_modules | ||
if: matrix.settings.system == 'apple' && matrix.settings.arch == 'arm64' | ||
run: | | ||
cd $GITHUB_WORKSPACE | ||
find . -name . -o -prune -exec rm -rf -- {} + | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.12.1' | ||
|
||
- name: npm init | ||
run: npm init -y | ||
|
||
- name: install dependencies | ||
run: npm install ironfish [email protected] | ||
|
||
- name: caxa package | ||
id: caxa | ||
run: | | ||
npx caxa --uncompression-message "Running the CLI for the first time may take a while, please wait..." --input . --output "${{ matrix.settings.system != 'windows' && 'ironfish' || 'ironfish.exe' }}" -- "{{caxa}}/node_modules/.bin/node" "--enable-source-maps" "{{caxa}}/node_modules/ironfish/bin/run" | ||
echo "RELEASE_NAME=ironfish-${{ matrix.settings.system }}-${{ matrix.settings.arch }}-${{ github.event.release.tag_name }}.zip" | ||
- name: set paths | ||
id: set_paths | ||
shell: bash | ||
run: | | ||
echo "zip=ironfish-${{ matrix.settings.system }}-${{ matrix.settings.arch }}-${{ github.event.release.tag_name }}.zip" >> $GITHUB_OUTPUT | ||
echo "binary=${{ matrix.settings.system != 'windows' && 'ironfish' || 'ironfish.exe' }}" >> $GITHUB_OUTPUT | ||
- name: chmod binary | ||
if: matrix.settings.system != 'windows' | ||
run: chmod +x ${{ steps.set_paths.outputs.binary }} | ||
|
||
- name: Zip binary | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
filename: ${{ steps.set_paths.outputs.zip }} | ||
path: ${{ steps.set_paths.outputs.binary }} | ||
|
||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: "${{ github.event.release.upload_url }}?name=${{ steps.set_paths.outputs.zip }}" | ||
asset_path: ${{ steps.set_paths.outputs.zip }} | ||
asset_name: ${{ steps.set_paths.outputs.zip }} | ||
asset_content_type: application/zip |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ironfish", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "CLI for running and interacting with an Iron Fish node", | ||
"author": "Iron Fish <[email protected]> (https://ironfish.network)", | ||
"main": "build/src/index.js", | ||
|
@@ -59,8 +59,8 @@ | |
"@aws-sdk/client-s3": "3", | ||
"@aws-sdk/client-secrets-manager": "3", | ||
"@aws-sdk/s3-request-presigner": "3", | ||
"@ironfish/rust-nodejs": "1.5.0", | ||
"@ironfish/sdk": "1.6.0", | ||
"@ironfish/rust-nodejs": "1.6.0", | ||
"@ironfish/sdk": "1.7.0", | ||
"@oclif/core": "1.23.1", | ||
"@oclif/plugin-help": "5.1.12", | ||
"@oclif/plugin-not-found": "2.3.1", | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "0.2.2" | |
authors = ["Sean Bowe <[email protected]>", "Iron Fish <[email protected]> (https://ironfish.network)"] | ||
description = "Library for performing MPCs for creating zk-SNARK public parameters" | ||
homepage = "https://github.com/iron-fish/ironfish" | ||
license = "MIT/Apache-2.0" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/iron-fish/ironfish" | ||
|
||
publish = false | ||
|
Oops, something went wrong.