-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a7a482
commit 68a07eb
Showing
1 changed file
with
34 additions
and
0 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,34 @@ | ||
name: Build Blockchain | ||
|
||
on: | ||
push: | ||
branches: | ||
- release/blockchain/* | ||
- workflow | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Go environment | ||
uses: actions/[email protected] | ||
|
||
- run: sudo apt-get install libmagickwand-dev | ||
- run: pkg-config --cflags --libs MagickWand | ||
- run: wget https://github.com/iconLake/ignite-cli/releases/download/v0.27.3/ignite_0.27.3_linux_amd64.tar.gz | ||
- run: tar -xzvf ignite_0.27.3_linux_amd64.tar.gz -C ./ignite_0.27.3_linux_amd64 | ||
- run: sudo mv ./ignite_0.27.3_linux_amd64/ignite /usr/local/bin/ && sudo chmod +x /usr/local/bin/ignite | ||
- run: cd blockchain && ignite chain build --release --check-dependencies | ||
|
||
- name: Upload iconlaked | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: iconlaked | ||
path: ./blockchain/release | ||
overwrite: true | ||
|