This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Nix
sov-celestia-cw
build (#141)
* Update basecoin hash for Nix sov-celestia-cw build * Add check for Nix build to CI * Add instructions to README to update submodule before building with cargo * Add install-nix and use cachix to cw-check CI job * Remove Cachix auth token * Update README.md Co-authored-by: Rano | Ranadeep <[email protected]> * setup github token for local git ops * Update basecoin Sha for sov-celestia wasm generation --------- Co-authored-by: Rano | Ranadeep <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
3 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 |
---|---|---|
|
@@ -25,6 +25,14 @@ jobs: | |
with: | ||
submodules: true | ||
token: ${{ secrets.AUTH_TOKEN }} | ||
- uses: cachix/install-nix-action@v26 | ||
with: | ||
extra_nix_config: | | ||
experimental-features = nix-command flakes | ||
- uses: cachix/cachix-action@v14 | ||
with: | ||
name: hermes-sdk | ||
extraPullNames: informal-sovereign | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -34,6 +42,12 @@ jobs: | |
override: true | ||
- name: Cache Cargo registry | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Set up Git credentials for private repo | ||
run: | | ||
git config --global --replace-all \ | ||
"url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" \ | ||
ssh://[email protected] | ||
- name: Build sov-celestia CosmWasm contract | ||
run: make build-sov-celestia-cw | ||
|
||
run: | | ||
make build-sov-celestia-cw | ||
nix build .#sov-celestia-cw |
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