Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test libwasmer.dll on Windows #3184

Merged
merged 71 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
8da2fdb
Fix Windows build with local dependency
fschutt Sep 13, 2022
59eb5f1
Fixed compilation on Windows MSVC (first 20 tests)
fschutt Sep 13, 2022
9dceb46
Merge branch 'master' into fix-windows
fschutt Sep 13, 2022
328a98e
Fixup Makefile-based tests to be Rust-based instead
fschutt Sep 13, 2022
05af38c
Port first Makefile to Rust + add MSVC flags
fschutt Sep 14, 2022
fd390f6
Fix first Makefile completely on Windows
fschutt Sep 14, 2022
7441fad
Final fixes for make test-capi on windows-msvc
fschutt Sep 14, 2022
d95b4db
Merge branch 'master' into fix-windows
fschutt Sep 15, 2022
4d1ebda
Undo accidental symlink removal
fschutt Sep 15, 2022
94baa50
cargo fmt
fschutt Sep 15, 2022
ada5810
Fix various compilation errors on windows
fschutt Sep 15, 2022
7e0a3b5
Migrate from inline-c to wasmer-inline-c
fschutt Sep 15, 2022
837f3ec
Add wasmer-capi-example-runner
fschutt Sep 15, 2022
66bfb88
cargo fmt
fschutt Sep 15, 2022
c59ca2c
Add symlink resolving to testing crates
fschutt Sep 15, 2022
97e5ffe
cargo fmt
fschutt Sep 15, 2022
7e851ff
Add "best try" fix to find wasmer binary in tests
fschutt Sep 15, 2022
29b8ed9
cargo fmt
fschutt Sep 15, 2022
4a7e3d0
Added proper resolving of WASMER_DIR
fschutt Sep 15, 2022
4f9b9a8
Fix include paths on linux CC
fschutt Sep 15, 2022
219d0c0
Use gcc instead of cc, fix wasmer/lib/c-api in wasmer_base_dir string
fschutt Sep 15, 2022
c7fcd24
Update dependencies
fschutt Sep 15, 2022
abfb861
cargo fmt
fschutt Sep 15, 2022
58294b8
cargo fmt
fschutt Sep 15, 2022
d267966
Add better debugging to wasmer-capi runner
fschutt Sep 15, 2022
d70f03a
Run "make package" in test code if the include dirs don't exist
fschutt Sep 15, 2022
0408922
cargo fmt
fschutt Sep 15, 2022
1800600
Add more debugging to failing "make package" command
fschutt Sep 15, 2022
ec58b61
Use "make package-capi" instead of "make package"
fschutt Sep 15, 2022
dd5a5cc
Debug /include directory and don't emit empty ldflags
fschutt Sep 15, 2022
a68b8fb
Set working dir on both windows and linux
fschutt Sep 15, 2022
1895dd2
Fix problem with wasmer-inline-c dependency
fschutt Sep 15, 2022
7eb4d0f
cargo fmt
fschutt Sep 15, 2022
a99a673
Split CLI arguments with whitespace
fschutt Sep 16, 2022
e4d3194
cargo fmt
fschutt Sep 16, 2022
ff52789
Fix issue with wasmer dir not set correctly
fschutt Sep 16, 2022
dd1c747
Add root_dir to include paths
fschutt Sep 16, 2022
582ce84
Try to fix windows build again
fschutt Sep 16, 2022
740d78d
Add tmate to github CI
fschutt Sep 16, 2022
dd7e9b2
Add wasmer root dir as include directory
fschutt Sep 16, 2022
906d933
List directory if cc fails
fschutt Sep 16, 2022
2ed90ea
Add tmate properly and change include path order
fschutt Sep 16, 2022
3995101
Trigger CI again
fschutt Sep 18, 2022
78c24a5
Remove tmate (session times out)
fschutt Sep 19, 2022
6b5c0e9
Use upterm instead of tmate
fschutt Sep 19, 2022
1210036
Remove upterm (times out on CI)
fschutt Sep 19, 2022
6b80078
Try debugging directory file paths with exa on failure
fschutt Sep 19, 2022
463575b
Invoke exa via Rust since it doesn't seem to be working with Makefiles
fschutt Sep 19, 2022
64e45ce
Debug file system paths without exa
fschutt Sep 19, 2022
d7bb0ae
Try to fix wrong include path on Windows MSVC
fschutt Sep 19, 2022
f8a28e2
Debug panicking command on Linux
fschutt Sep 19, 2022
40ed77c
Fix typo
fschutt Sep 19, 2022
1867064
Temporarily remove "make" step from CI
fschutt Sep 19, 2022
b8ec4a5
Remove duplicate checkout
fschutt Sep 19, 2022
9f166da
Merge branch 'master' into fix-windows
fschutt Sep 22, 2022
048202b
Fix LD_PRELOAD on Linux, exit with 0 instead of 1
fschutt Sep 22, 2022
4f56992
Fixed -L and -I options to contain a space
fschutt Sep 22, 2022
9a3f852
Use trailing slashes for include and link dirs
fschutt Sep 22, 2022
114e817
Try fixing wrong include paths on Windows
fschutt Sep 22, 2022
e7b41f8
Fix Windows build in VM:
fschutt Sep 22, 2022
aea817f
Manually force copying wasm.h when testing
fschutt Sep 22, 2022
dc54c60
Add /include directory to c-api/tests
fschutt Sep 23, 2022
9f32fcf
Add -Wl,rpath argument for macos
fschutt Sep 23, 2022
a1557b5
Re-add previous "make test" step to GitHub CI
fschutt Sep 23, 2022
f91f9ae
cargo fmt
fschutt Sep 23, 2022
d0f4322
Always run make build-capi
fschutt Sep 23, 2022
8e8c97b
WIndows: generate executables (segfaulting)
fschutt Sep 23, 2022
e0e3aff
Add make build-capi and make package-capi before CI test step
fschutt Sep 26, 2022
35d41e7
Use "make package-capi" instead of "make package"
fschutt Sep 26, 2022
449a77f
cargo fmt
fschutt Sep 26, 2022
bb9b349
Use bash shell on Windows CI
fschutt Sep 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/test-sys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ jobs:
- name: Test
if: matrix.run_test && matrix.os != 'windows-2019'
run: |
make test
make build-capi && make package-capi && export WASMER_DIR=`pwd`/package && make test
env:
TARGET: ${{ matrix.target }}
TARGET_DIR: target/${{ matrix.target }}/release
Expand All @@ -235,12 +235,14 @@ jobs:
CARGO_TARGET: --target ${{ matrix.target }}
- name: Test
if: matrix.run_test && matrix.os == 'windows-2019'
shell: bash
run: |
make test
make build-capi && make package-capi && export WASMER_DIR=`pwd`/package && make test
- name: Test C API
if: matrix.run_test_capi && matrix.os == 'windows-2019'
shell: bash
run: |
make test-capi
export WASMER_DIR=`pwd`/package && make test-capi
- name: Build Doc
if: matrix.run_build_docs
run: |
Expand Down
Loading