-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add a few common feature sets * Add another * add new workflow * add libudev * better message * fix gating * fix wasm * Revert breaking feature changes * missed reverts * Nit --------- Co-authored-by: Thibault Martinez <[email protected]>
- Loading branch information
1 parent
121a22c
commit 3347676
Showing
18 changed files
with
260 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Common Feature Sets | ||
on: | ||
push: | ||
branches: [develop, production, "1.1"] | ||
paths: | ||
- ".cargo/config.toml" | ||
- ".github/workflows/common-features.yml" | ||
- ".github/actions/**" | ||
- "**.rs" # Include all rust files | ||
- "**Cargo.toml" # Include all Cargo.toml files | ||
- "**Cargo.lock" # Include all Cargo.lock files | ||
- "!**/bindings/**" # Exclude all bindings | ||
pull_request: | ||
branches: [develop, production, "1.1"] | ||
paths: | ||
- ".cargo/config.toml" | ||
- ".github/workflows/common-features.yml" | ||
- ".github/actions/**" | ||
- "**.rs" # Include all rust files | ||
- "**Cargo.toml" # Include all Cargo.toml files | ||
- "**Cargo.lock" # Include all Cargo.lock files | ||
- "!**/bindings/**" # Exclude all bindings | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
CARGO_INCREMENTAL: 0 | ||
|
||
jobs: | ||
common-sets: | ||
name: Check common feature sets | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
set: | ||
- pow | ||
- irc_27 | ||
- irc_30 | ||
- client,private_key_secret_manager | ||
- client,mqtt | ||
- client,participation | ||
- wallet,storage | ||
- wallet,stronghold | ||
- wallet,rocksdb | ||
- wallet,participation | ||
- wallet,events | ||
- wallet,events,ledger_nano | ||
|
||
steps: | ||
- name: Checkout the Source Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Rust | ||
uses: ./.github/actions/setup-rust | ||
|
||
# Required for ledger-nano | ||
- name: Install required packages (Ubuntu) | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libudev-dev libusb-1.0-0-dev | ||
- name: Check features [ ${{ matrix.set }} ] | ||
run: cargo check --no-default-features -p iota-sdk -F ${{ matrix.set }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.