Fix CI to work in the warpdotdev/warp repo. (#9226)
## Description A couple issues that needed fixing: * Using `--all-features` and `--all-targets` causes us to try to build the first-party binaries with embedded configuration, which isn't available from this repository. To unblock CI, we'll only run clippy on the default feature set for right now. * Similarly, testing compilation with release configuration was trying to build the `dev` channel; this switches that over to the `oss` channel.
This commit is contained in:
@@ -510,7 +510,8 @@ jobs:
|
||||
if [ "${{ matrix.os }}" = "windows" ]; then
|
||||
cargo clippy --locked --workspace ${{ matrix.clippy_excludes }} --all-targets --tests -- -D warnings
|
||||
else
|
||||
cargo clippy --locked --workspace ${{ matrix.clippy_excludes }} --all-targets --all-features --tests -- -D warnings
|
||||
# TODO(vorporeal): Re-enable the `all-features` flag once we've fixed things.
|
||||
cargo clippy --locked --workspace ${{ matrix.clippy_excludes }} --all-targets --tests -- -D warnings
|
||||
# Run clippy on warp_completer with default, rather than all features enabled, because there is
|
||||
# feature-gated logic for the WIP completions-on-js implementation.
|
||||
cargo clippy --locked -p warp_completer --all-targets --tests -- -D warnings
|
||||
@@ -653,9 +654,9 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
if ${{ matrix.os == 'wasm' }}; then
|
||||
./script/wasm/bundle --bin dev --nouniversal --check-only
|
||||
./script/wasm/bundle --channel oss --nouniversal --check-only
|
||||
else
|
||||
./script/bundle --bin dev --nouniversal --check-only
|
||||
./script/bundle --channel oss --nouniversal --check-only
|
||||
fi
|
||||
env:
|
||||
# Attach the GitHub auth token so that requests to the GitHub API
|
||||
|
||||
Reference in New Issue
Block a user