Skip to content

Commit

Permalink
Add windows cross-compilation build to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamidev committed Mar 2, 2024
1 parent 23d06b4 commit 3d02a82
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ jobs:

steps:
- name: Install WebkitGTK development files
run: sudo apt-get install -y libwebkit2gtk-4.1-dev xvfb
run: sudo apt-get install -y libwebkit2gtk-4.1-dev mingw-w64 xvfb
- name: Add x86_64-pc-windows-gnu target
run: rustup target add x86_64-pc-windows-gnu
- uses: actions/checkout@v3
- name: Build
- name: Build with WebkitGTK
run: cargo build --verbose --features webkitgtk
#- name: Build with Edge WebView2
# run: cargo build --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

0 comments on commit 3d02a82

Please sign in to comment.