Skip to content

Commit

Permalink
Add cmake/rust/foundry install to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigaMr committed Jan 21, 2025
1 parent c16a6af commit f198d2c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci-playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@ jobs:
run: pnpm install
- name: Build JS client
run: make -C clients/js build
- name: Install libclang-dev
run: sudo apt-get update && sudo apt-get install -y libclang-dev
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Rustup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Install Rust nightly
run: rustup toolchain install nightly
- name: Install CMake
uses: lukka/get-cmake@latest
- name: Build Integrations
run: make -C integrations build
- uses: JarvusInnovations/background-action@v1
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/contracts-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ jobs:
run: pnpm install
- name: Build
run: make -C clients/js build
- name: Install libclang-dev
run: sudo apt-get update && sudo apt-get install -y libclang-dev
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Rustup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Install Rust nightly
run: rustup toolchain install nightly
- name: Install CMake
uses: lukka/get-cmake@latest
- uses: JarvusInnovations/background-action@v1
name: RPC proxy will error if non-encrypted calls are made
with:
Expand Down
4 changes: 0 additions & 4 deletions integrations/foundry/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
all: build test

build:
@if ! command -v forge > /dev/null; then \
curl -L https://foundry.paradigm.xyz | bash; \
$$HOME/.foundry/bin/foundryup; \
fi
forge install foundry-rs/forge-std --no-commit --no-git
forge install oasisprotocol/sapphire-paratime --no-commit --no-git
cd src/precompiles && cargo +nightly build --release
Expand Down

0 comments on commit f198d2c

Please sign in to comment.