summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2022-05-01 17:28:05 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2022-05-01 17:30:20 -0400
commit715af44efc3cf7423f14b1311ad233be6d8f828d (patch)
tree55cbc2cb519682fb4a026f91eba16c7caf4cdd50 /.github
parent6e2ea8eeda7365bd2f3f07d261bf279588e7f17e (diff)
ci: create deploy feature; test in CI
This encompasses features that we want on deployment.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--.github/workflows/deployment.yml4
-rw-r--r--.github/workflows/nightly.yml4
3 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 90262241..966b2287 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -84,7 +84,7 @@ jobs:
features: [
"--all-features",
# "--features battery",
- # "--features gpu", # Think it's fine to skip this specific test.
+ # "--features gpu",
"--no-default-features",
]
steps:
@@ -127,7 +127,7 @@ jobs:
- name: Run clippy
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
- run: cargo clippy ${{ matrix.features }} --workspace -- -D warnings
+ run: cargo clippy ${{ matrix.features }} --all-targets --workspace -- -D warnings
# Run cargo check on all other platforms
other_check:
@@ -262,5 +262,5 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
- args: --all-targets --verbose --target=${{ matrix.triple.target }} --features "battery" --locked
+ args: --all-targets --verbose --target=${{ matrix.triple.target }} --locked
use-cross: ${{ matrix.triple.cross }}
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index 66a8a239..d984971a 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -149,7 +149,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
- args: --release --verbose --locked --target=${{ matrix.triple.target }} --features "battery"
+ args: --release --verbose --locked --target=${{ matrix.triple.target }} --features deploy
use-cross: ${{ matrix.triple.cross }}
- name: Build autocompletion and manpage
@@ -317,7 +317,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
- args: --release --locked --verbose --features "battery"
+ args: --release --locked --verbose --features deploy
- name: Build autocompletion and manpage
shell: bash
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 08d588e1..971664cc 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -145,7 +145,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
- args: --release --locked --verbose --target=${{ matrix.triple.target }} --features "battery"
+ args: --release --locked --verbose --target=${{ matrix.triple.target }} --features deploy
use-cross: ${{ matrix.triple.cross }}
- name: Build autocompletion and manpage
@@ -311,7 +311,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
- args: --release --locked --verbose --features "battery"
+ args: --release --locked --verbose --features deploy
- name: Build autocompletion and manpage
shell: bash