Skip to content

Commit

Permalink
build hermes in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Nov 30, 2023
1 parent 28a0bb3 commit 3127992
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ jobs:
nightly_version: [nightly-2023-06-01]
mold_version: [2.3.2]
comet_bft: [0.37.2]
hermes: [1.6.0-namada-beta1]
hermes: [1.7.1-namada-beta4]
make:
- index: 0
- index: 1
Expand Down Expand Up @@ -559,11 +559,18 @@ jobs:
curl -o cometbft.tar.gz -LO https://github.com/cometbft/cometbft/releases/download/v${{ matrix.comet_bft }}/cometbft_${{ matrix.comet_bft }}_linux_amd64.tar.gz
tar -xvzf cometbft.tar.gz
mv cometbft /usr/local/bin
- name: Download Hermes
- name: Clone Hermes repo
uses: actions/checkout@v4
with:
repository: https://github.com/heliaxdev/hermes
ref: ${{ matrix.hermes }}
path: hermes
- name: Build Hermes
run: |
curl -o hermes.tar.gz -LO https://github.com/heliaxdev/hermes/releases/download/v${{ matrix.hermes }}/hermes-v${{ matrix.hermes }}-x86_64-unknown-linux-gnu.tar.gz
tar -xvzf hermes.tar.gz
mv hermes /usr/local/bin
cd hermes
sed -i 's|git = "https://github.com/anoma/namada"\ntag = .*|# git = "https://github.com/anoma/namada"\npath = "../../../sdk"|' crates/relayer/Cargo.toml
cargo build --bin hermes
cp target/debug/hermes /usr/local/bin
- name: Change permissions
run: |
chmod +x target/release/namada
Expand Down

0 comments on commit 3127992

Please sign in to comment.