updated: windows build
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 6 Apr 2023 16:29:41 +0000 (11:29 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 6 Apr 2023 16:29:41 +0000 (11:29 -0500)
.github/workflows/windows-build.yml
build.bat

index 6aebf4363b357b007c3eedbf6701548b6b6e4199..bea4613c70246b165f6b610ff726bf18c0579cb5 100644 (file)
@@ -39,8 +39,8 @@ jobs:
           path: |
             core
             examples
-            lib/windows_x86_64/lib/wasmer.dll
+            shared/lib/windows_x86_64/lib/wasmer.dll
             misc
-            modules
             onyx_runtime.dll
+            tests
             onyx.exe
index d69552dbb74789a706ab2ae8ef763c4ea42e6ab0..733e4471546c1ab9635ae8373439a502e3ab2af6 100644 (file)
--- a/build.bat
+++ b/build.bat
@@ -22,19 +22,8 @@ del *.ilk > NUL 2> NUL
 del *.obj > NUL 2> NUL
 del misc\icon_resource.res
 
-REM Compile the onyx-run tool
-set SOURCE_FILES=compiler/src/onyxrun.c compiler/src/wasm_runtime.c
-
-rc.exe misc/icon_resource.rc
-cl.exe %FLAGS% /Icompiler/include /std:c17 /TC %SOURCE_FILES% /link /IGNORE:4217 %LINK_OPTIONS% /DEBUG /OUT:onyx-run.exe /incremental:no /opt:ref /subsystem:console misc\icon_resource.res
-
-del *.pdb > NUL 2> NUL
-del *.ilk > NUL 2> NUL
-del *.obj > NUL 2> NUL
-del misc\icon_resource.res
-
 cl /MT /std:c17 /TC /I compiler/include /I shared/include /D_USRDLL /D_WINDLL runtime\onyx_runtime.c /link /DLL ws2_32.lib /OUT:onyx_runtime.dll
 
 del onyx_runtime.obj
 del onyx_runtime.lib
-del onyx_runtime.exp
\ No newline at end of file
+del onyx_runtime.exp