Skip to content

Commit

Permalink
Updated to memflow 0.2.0-beta11
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1N committed Dec 16, 2023
1 parent 306636d commit 148ebc7
Show file tree
Hide file tree
Showing 4 changed files with 629 additions and 451 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,50 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
flags: [--all-features, --no-default-features]
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --workspace --all-features --verbose
- name: Install rust 1.70.0
uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
override: true

- name: Build
run: cargo build --workspace ${{ matrix.flags }} --verbose

test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Install rust 1.70.0
uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
override: true

- name: Run all tests
run: cargo test --workspace --verbose
run: cargo test --workspace --all-features --verbose

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
override: true
components: rustfmt, clippy
- run: rustup component add clippy
- name: Check formatting
run: cargo fmt -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets
args: --all-targets --all-features --workspace -- -D clippy::all

build-coverage:
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
target: ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "armv7-unknown-linux-gnueabihf", "x86_64-pc-windows-gnu"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- name: Install rust 1.70.0
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.70.0
override: true
- name: Download renamer
run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh
- name: Build artifacts
Expand Down
Loading

0 comments on commit 148ebc7

Please sign in to comment.