Skip to content

Commit

Permalink
chore: cross-compile Trin on a new release
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenev committed Jan 31, 2024
1 parent e8d5947 commit 084c712
Show file tree
Hide file tree
Showing 11 changed files with 306 additions and 353 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ commands:
- run:
name: Prepare for apt upgrades
command: sudo apt update
- run:
name: Install libssl-dev for openssl-sys
command: sudo apt install -y libssl-dev
- run:
name: Install libclang
command: sudo apt install clang
Expand All @@ -46,10 +43,7 @@ commands:
name: Prepare for apt upgrades
command: apt update
- run:
name: Install libssl-dev for openssl-sys
command: apt install -y libssl-dev
- run:
name: Install libclang for rocksdb
name: Install libclang
command: apt install -y clang
orbs:
rust: circleci/[email protected]
Expand Down Expand Up @@ -236,9 +230,6 @@ jobs:
- run:
name: Update package sources
command: sudo apt update
- run:
name: Install libssl-dev for openssl-sys
command: sudo NEEDRESTART_MODE=a apt install -y libssl-dev
- run:
name: Install libclang
command: sudo NEEDRESTART_MODE=a apt install clang
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Build trin for ${{ matrix.arch }}
run: |
cargo install cross
cargo install cross --git https://github.com/cross-rs/cross
env PROFILE=${{ matrix.profile }} make build-${{ matrix.arch }}
- name: Move cross-compiled binary
Expand Down
Loading

0 comments on commit 084c712

Please sign in to comment.