Skip to content

Commit

Permalink
Add e2e bridge tooling installation to CI (#741)
Browse files Browse the repository at this point in the history
* adding g++

* wrong id

* protoc

* check jq and direnv

* install direnv

* try downgrade2

* try another

* mages turn

* setup go

* use go

* go again

* fix

* foundry

* yarn

* setup yarn

* go back

* try again

* date

* undo package json change2

* make it dependent on another workflowç

* remove

* use built artifacts from another build

* test

* try wihtout if statemnt

* try

* try to trigger againç

* go back

* remove package json

* remove non-necessary download build artifacts

* try installing manually yarn

* put again workflow run
  • Loading branch information
girazoki authored Nov 6, 2024
1 parent f8b66f3 commit 15fa648
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .github/workflows/e2e-test-bridge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Bridge e2e test

on:
workflow_run:
workflows: [CI]
branches: [master]
types: [completed]

jobs:
e2e-bridge-test:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check g++
id: setup_g_plusplus
run: |
g++ --version
- name: Check protoc
id: check_proto_c
run: |
protoc --version
- name: Check jq
id: check_jq
run: |
jq --version
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.22.0'
- name: Check go
id: check_go
run: |
go version
- name: Run Mage
uses: magefile/mage-action@v3
with:
install-only: true
- name: Check mage
id: check_mage
run: |
mage --version
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Check forge
id: check_forge
run: |
forge --version
- name: Pnpm
uses: pnpm/[email protected]
with:
version: 9
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install yarn
run: |-
curl -fsSL --create-dirs -o $HOME/bin/yarn \
https://github.com/yarnpkg/yarn/releases/download/v1.22.22/yarn-1.22.22.js
chmod +x $HOME/bin/yarn
echo "$HOME/bin" >> $GITHUB_PATH
- name: Check yarn
id: check_yarn
run: |
yarn --version
- name: Check date
id: check_date
run: |
date --version

0 comments on commit 15fa648

Please sign in to comment.