Skip to content

Commit

Permalink
Add tests for windows github workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamidev committed Mar 10, 2024
1 parent 0303013 commit 7d2ae36
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
run: rustup target add x86_64-pc-windows-gnu
- uses: actions/checkout@v3
- name: Build with WebkitGTK
run: cargo build --verbose --features webkitgtk
run: cargo build --release --verbose --features webkitgtk
- name: Build with WebkitGTK (threadsafe)
run: cargo build --verbose --features webkitgtk,threadsafe
run: cargo build --release --verbose --features webkitgtk,threadsafe
- name: Build with Edge WebView2 (MinGW)
run: cargo build --verbose --features edge2 --target=x86_64-pc-windows-gnu
run: cargo build --release --verbose --features edge2 --target=x86_64-pc-windows-gnu
- name: Run tests
run: RUST_BACKTRACE=full RUST_LOG=debug xvfb-run cargo test --verbose --features webkitgtk

Expand All @@ -40,3 +40,7 @@ jobs:
with:
command: build
args: --release --features edge2
- uses: actions-rs/cargo@v1
with:
command: test
args: --features edge2

0 comments on commit 7d2ae36

Please sign in to comment.