mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Adjust ci and PKGBUILD build args to feature changes
This commit is contained in:
parent
64428ea7d1
commit
01913e0db3
2 changed files with 4 additions and 4 deletions
2
.github/scripts/PKGBUILD.source
vendored
2
.github/scripts/PKGBUILD.source
vendored
|
|
@ -19,7 +19,7 @@ build() {
|
||||||
export CARGO_HOME="$srcdir/cargo-home"
|
export CARGO_HOME="$srcdir/cargo-home"
|
||||||
export RUSTUP_TOOLCHAIN=stable
|
export RUSTUP_TOOLCHAIN=stable
|
||||||
|
|
||||||
cargo build --release --no-default-features --features openssl
|
cargo build --release
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
|
||||||
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
run: cargo install --force cross
|
run: cargo install --force cross
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cross build --release --all-features --target ${{ matrix.toolchain }}
|
run: cross build --release --no-default-features --features openssl-tls-static --target ${{ matrix.toolchain }}
|
||||||
|
|
||||||
- name: Upload binary artifact
|
- name: Upload binary artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
key: x86_64-apple-darwin-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: x86_64-apple-darwin-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release --all-features --target x86_64-apple-darwin
|
run: cargo build --release --target x86_64-apple-darwin
|
||||||
|
|
||||||
- name: Upload binary artifact
|
- name: Upload binary artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
@ -110,7 +110,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: cargo build --release --all-features --target x86_64-pc-windows-gnu
|
run: cargo build --release --target x86_64-pc-windows-gnu
|
||||||
|
|
||||||
- name: Upload binary artifact
|
- name: Upload binary artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue