Skip to content

Commit

Permalink
Create blockchain.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
huanxiangspace authored Jul 20, 2024
1 parent 3a7a482 commit 68a07eb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/blockchain.yml
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/setup-go@v5.0.2

- 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

0 comments on commit 68a07eb

Please sign in to comment.