Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): use git2 vendored-openssl feature #153

Merged
merged 4 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: pop install

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

defaults:
run:
shell: bash

jobs:
ubuntu:
runs-on: ubuntu-latest
container: ubuntu
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: apt-get update && apt-get -y install build-essential cmake curl git
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install Pop
run: |
. "$HOME/.cargo/env"
cargo install --locked --path ./crates/pop-cli
pop --version
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: rustup target add ${{ matrix.platform.target }}

- name: Build pop-cli
run: cargo build --profile=production -p pop-cli --target ${{ matrix.platform.target }} --features static-ssl
run: cargo build --profile=production -p pop-cli --target ${{ matrix.platform.target }}

- name: Package binary (Linux)
if: contains(matrix.platform.target, 'linux')
Expand Down
3 changes: 1 addition & 2 deletions crates/pop-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ sp-weights = { workspace = true, optional = true }
# parachains
pop-parachains = { path = "../pop-parachains", optional = true }
dirs = { version = "5.0", optional = true }
git2.workspace = true
git2 = { workspace = true, features = ["vendored-openssl"] }

[dev-dependencies]
assert_cmd = "2.0.14"
predicates = "3.1.0"

[features]
default = ["contract", "parachain"]
static-ssl = ["git2/vendored-openssl"]
contract = [
"dep:pop-contracts",
"dep:sp-core",
Expand Down