diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml new file mode 100644 index 000000000..ec7fdd6fa --- /dev/null +++ b/.github/workflows/clippy.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 000000000..ed7719bf9 --- /dev/null +++ b/.github/workflows/windows.yml @@ -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