Skip to content

Commit

Permalink
fix: node install and build
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejVukosav committed Nov 20, 2024
1 parent d39aa77 commit a2d7668
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/calimero_node_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:

# Install and build node-ui
- name: Install node-ui dependencies with pnpm
run: pnpm install --prefix ./node-ui
run: cd ./node-ui && pnpm install

- name: Build node-ui
run: pnpm --filter ./node-ui run build
run: cd ./node-ui && pnpm build

- name: Setup rust toolchain
run: rustup toolchain install stable --profile minimal
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Install target for ${{ matrix.target }}
run: rustup target add ${{ matrix.target }}

- name: Install dependencies for cross-compilation
run: |
sudo apt-get update
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
OPENSSL_STATIC: ${{ env.OPENSSL_STATIC }}
RUSTFLAGS: "-C link-arg=-lstdc++ -C link-arg=-lpthread -C link-arg=-lc"
run: cargo zigbuild -p meroctl --release --target ${{ matrix.target }}

- name: Build meroctl for x86_64
if: matrix.target == 'x86_64-unknown-linux-gnu'
run: cargo build -p meroctl --release --target ${{ matrix.target }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/calimero_node_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

# Install and build node-ui
- name: Install node-ui dependencies with pnpm
run: pnpm install --prefix ./node-ui
run: cd ./node-ui && pnpm install

- name: Build node-ui
run: pnpm --filter ./node-ui run build
run: cd ./node-ui && pnpm build

- name: Install rustup and Rust toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

# Install and build node-ui
- name: Install node-ui dependencies with pnpm
run: pnpm install --prefix ./node-ui
run: cd ./node-ui && pnpm install

- name: Build node-ui
run: cd ./node-ui && pnpm build
Expand Down

0 comments on commit a2d7668

Please sign in to comment.