Skip to content

Commit

Permalink
Merge pull request #7 from memflow/next
Browse files Browse the repository at this point in the history
Update to memflow 0.2.0-beta11
  • Loading branch information
ko1N committed Dec 16, 2023
2 parents 9d690fe + e1012e7 commit a5538e4
Show file tree
Hide file tree
Showing 12 changed files with 655 additions and 563 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
flags: [--all-features, --no-default-features]
steps:
- uses: actions/checkout@v2
- 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
Expand All @@ -32,7 +37,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.70.0
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
Expand All @@ -48,6 +53,11 @@ jobs:
os: [macos-latest, 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: Pre-build binaries (for inventory integration tests)
run: cargo build --workspace --all-features --verbose
Expand All @@ -70,7 +80,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly # currently required due to -Zdoctest-xcompile
target: ${{ matrix.target }}
override: true
- name: Pre-build binaries (for inventory integration tests)
Expand All @@ -90,11 +100,16 @@ jobs:
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 --all-features
args: --all-targets --all-features --workspace -- -D clippy::all

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 a5538e4

Please sign in to comment.