Skip to content

Commit

Permalink
add testing policy configuration & bundle (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo authored Apr 19, 2022
1 parent e26b1e5 commit 98019b4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
CACHE_SKIP_SAVE: ${{ matrix.push == '' || matrix.push == 'false' }}
strategy:
matrix:
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet' ]
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing' ]
steps:
- name: Checking out
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
CACHE_SKIP_SAVE: ${{ matrix.push == '' || matrix.push == 'false' }}
strategy:
matrix:
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet' ]
network: [ 'mainnet', 'caterpillarnet', 'butterflynet', 'calibrationnet', 'devnet', 'testing' ]
steps:
- name: Checking out
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ caterpillarnet = []
butterflynet = []
calibrationnet = []
devnet = []
testing = []

[workspace]
members = [
Expand Down
13 changes: 13 additions & 0 deletions actors/runtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ static NETWORKS: &[(&str, &[&str])] = &[
("butterflynet", &["sector-512m", "sector-32g", "sector-64g", "min-power-2g"]),
("calibrationnet", &["sector-32g", "sector-64g", "min-power-32g"]),
("devnet", &["sector-2k", "sector-8m", "small-deals", "short-precommit", "min-power-2k"]),
(
"testing",
&[
"sector-2k",
"sector-8m",
"sector-512m",
"sector-32g",
"sector-64g",
"small-deals",
"short-precommit",
"min-power-2k",
],
),
];
const NETWORK_ENV: &str = "BUILD_FIL_NETWORK";

Expand Down
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ fn network_name() -> String {
Some("calibrationnet")
} else if cfg!(feature = "devnet") {
Some("devnet")
} else if cfg!(feature = "testing") {
Some("testing")
} else {
None
};
Expand Down

0 comments on commit 98019b4

Please sign in to comment.