Skip to content

Commit

Permalink
add 2 new github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Jan 11, 2025
1 parent 58a57ab commit 81ce279
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# .github/workflows/clippy.yml
name: Clippy Checks

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
libwasmvm_clippy_msrv:
runs-on: ubuntu-latest
container:
image: rust:1.83.0
steps:
- uses: actions/checkout@v4
- name: Version information
run: rustc --version && cargo --version
- name: Add clippy component
run: rustup component add clippy
- name: Run clippy
working-directory: libwasmvm
run: cargo clippy --all-targets -- -D warnings

libwasmvm_clippy_stable:
runs-on: ubuntu-latest
container:
image: rust:1.83.0
steps:
- uses: actions/checkout@v4
- name: Version information
run: rustc --version && cargo --version
- name: Add clippy component
run: rustup component add clippy
- name: Run clippy
working-directory: libwasmvm
run: cargo clippy --all-targets -- -D warnings
23 changes: 23 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# .github/workflows/windows.yml
name: Windows Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
libwasmvm_sanity_windows:
runs-on: windows-latest
container:
image: rust:1.83.0
steps:
- uses: actions/checkout@v4
- name: Show Rust version information
run: rustc --version && cargo --version && rustup --version
- name: Run unit tests
working-directory: libwasmvm
run: cargo test

0 comments on commit 81ce279

Please sign in to comment.