forked from mirrors/jj
github: enable the watchman feature in pre-built binaries
This commit is contained in:
parent
ddd6c3b27b
commit
152a0683e2
3 changed files with 3 additions and 2 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
toolchain: stable
|
||||
target: ${{ matrix.target }}
|
||||
- name: Build release binary
|
||||
run: cargo build --target ${{ matrix.target }} --verbose --release --features vendored-openssl
|
||||
run: cargo build --target ${{ matrix.target }} --verbose --release --features packaging,vendored-openssl
|
||||
- name: Build archive
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
@ -77,6 +77,7 @@ testutils = { path = "lib/testutils" }
|
|||
[features]
|
||||
default = []
|
||||
bench = ["criterion"]
|
||||
packaging = ["watchman"]
|
||||
vendored-openssl = ["git2/vendored-openssl", "jj-lib/vendored-openssl"]
|
||||
watchman = ["jj-lib/watchman"]
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
pname = "jujutsu";
|
||||
version = "unstable-${self.shortRev or "dirty"}";
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [ "watchman" ];
|
||||
buildFeatures = [ "packaging" ];
|
||||
cargoBuildFlags = ["--bin" "jj"]; # don't build and install the fake editors
|
||||
useNextest = true;
|
||||
src = filterSrc ./. [
|
||||
|
|
Loading…
Reference in a new issue