Skip to content

Commit c39eba9

Browse files
authored
Merge pull request #1 from memflow/next
Update to memflow 0.2.0-beta11
2 parents 8b056b4 + 5b0a844 commit c39eba9

File tree

9 files changed

+536
-372
lines changed

9 files changed

+536
-372
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,17 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, windows-latest]
15+
flags: [--all-features, --no-default-features]
1516
steps:
1617
- uses: actions/checkout@v2
18+
- name: Install rust 1.70.0
19+
uses: actions-rs/toolchain@v1
20+
with:
21+
toolchain: 1.70.0
22+
override: true
23+
1724
- name: Build
18-
run: cargo build --workspace --all-features --verbose
25+
run: cargo build --workspace ${{ matrix.flags }} --verbose
1926

2027
test:
2128
runs-on: ${{ matrix.os }}
@@ -24,17 +31,28 @@ jobs:
2431
os: [ubuntu-latest, windows-latest]
2532
steps:
2633
- uses: actions/checkout@v2
34+
- name: Install rust 1.70.0
35+
uses: actions-rs/toolchain@v1
36+
with:
37+
toolchain: 1.70.0
38+
override: true
39+
2740
- name: Run all tests
28-
run: cargo test --workspace --verbose
41+
run: cargo test --workspace --all-features --verbose
2942

3043
lint:
3144
runs-on: ubuntu-latest
3245
steps:
3346
- uses: actions/checkout@v2
47+
- uses: actions-rs/toolchain@v1
48+
with:
49+
toolchain: 1.70.0
50+
override: true
51+
components: rustfmt, clippy
3452
- run: rustup component add clippy
3553
- name: Check formatting
3654
run: cargo fmt -- --check
3755
- uses: actions-rs/clippy-check@v1
3856
with:
3957
token: ${{ secrets.GITHUB_TOKEN }}
40-
args: --all-targets
58+
args: --all-targets --all-features --workspace -- -D clippy::all

.github/workflows/nightly-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ jobs:
1818
target: ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "armv7-unknown-linux-gnueabihf", "x86_64-pc-windows-gnu"]
1919
steps:
2020
- uses: actions/checkout@v2
21-
- uses: actions-rs/toolchain@v1
21+
- name: Install rust 1.70.0
22+
uses: actions-rs/toolchain@v1
2223
with:
23-
toolchain: stable
24+
toolchain: 1.70.0
25+
override: true
2426
- name: Download renamer
2527
run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh
2628
- name: Build artifacts

0 commit comments

Comments
 (0)