Address concerns

This commit is contained in:
l1npengtul
2022-11-01 00:59:07 +09:00
parent 87e51cb8fe
commit bb01f914e0
9 changed files with 404 additions and 124 deletions

View File

@@ -44,7 +44,7 @@ jobs:
flags:
- ""
- "--features debugging"
- "--features metadata,serde,internals"
- "--features metadata,serde,internals,static_hash"
- "--features unchecked,serde,metadata,internals,debugging"
- "--features sync,serde,metadata,internals,debugging"
- "--features no_position,serde,metadata,internals,debugging"
@@ -89,35 +89,35 @@ jobs:
command: test
args: ${{matrix.flags}}
nightly_features_build:
name: NightlyFeatureBuild
runs-on: ${{matrix.os}}
continue-on-error: ${{matrix.experimental}}
strategy:
matrix:
os: [ubuntu-latest]
flags:
- "--features stable_hash"
toolchain: [ nightly ]
experimental: [ false ]
include:
# smoketests for different toolchains
- { toolchain: nightly, os: windows-latest, experimental: false, flags: "" }
- { toolchain: nightly, os: macos-latest, experimental: false, flags: "" }
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.toolchain}}
override: true
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: ${{matrix.flags}}
# nightly_features_build:
# name: NightlyFeatureBuild
# runs-on: ${{matrix.os}}
# continue-on-error: ${{matrix.experimental}}
# strategy:
# matrix:
# os: [ubuntu-latest]
# flags:
# - "--features stable_hash"
# toolchain: [ nightly ]
# experimental: [ false ]
# include:
# # smoketests for different toolchains
# - { toolchain: nightly, os: windows-latest, experimental: false, flags: "" }
# - { toolchain: nightly, os: macos-latest, experimental: false, flags: "" }
# fail-fast: false
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Setup Toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: ${{matrix.toolchain}}
# override: true
# - name: Test
# uses: actions-rs/cargo@v1
# with:
# command: test
# args: ${{matrix.flags}}
# no-std builds are a bit more extensive to test
@@ -127,6 +127,9 @@ jobs:
continue-on-error: ${{matrix.experimental}}
strategy:
matrix:
flags:
- ""
- "--features static_hash"
include:
- {os: ubuntu-latest, flags: "--profile unix", experimental: false}
- {os: windows-latest, flags: "--profile windows", experimental: true}