-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Seonghyun Kim <[email protected]>
- Loading branch information
1 parent
7b6602c
commit a1fddb5
Showing
14 changed files
with
402 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,6 +172,46 @@ jobs: | |
ninja -Cout/release | ||
python3 ./tools/run-tests.py --engine="./out/release/walrus" | ||
test-on-windows-x86-x64: | ||
runs-on: windows-2022 | ||
strategy: | ||
matrix: | ||
arch: [x86, x64] | ||
steps: | ||
- name: Set git cllf config | ||
run: | | ||
git config --global core.autocrlf input | ||
git config --global core.eol lf | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: lukka/get-cmake@latest | ||
- uses: GuillaumeFalourd/[email protected] | ||
with: | ||
sdk-version: 20348 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
- name: Install msvc redist package | ||
run: | | ||
(new-object System.Net.WebClient).DownloadFile('https://github.com/abbodi1406/vcredist/releases/download/v0.73.0/VisualCppRedist_AIO_x86_x64.exe','VisualCppRedist_AIO_x86_x64.exe') | ||
.\VisualCppRedist_AIO_x86_x64.exe /y | ||
- uses: ilammy/[email protected] | ||
with: | ||
arch: ${{ matrix.arch }} | ||
sdk: "10.0.20348.0" | ||
- name: Build ${{ matrix.arch }} Release | ||
run: | | ||
CMake -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_VERSION:STRING="10.0" -DCMAKE_SYSTEM_PROCESSOR=${{ matrix.arch }} -Bout/ -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=release | ||
CMake --build out/ --config Release | ||
- name: Run tests | ||
run: | | ||
python tools\run-tests.py --engine=%cd%\out\walrus.exe | ||
shell: cmd | ||
- if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
timeout-minutes: 15 | ||
|
||
built-test-wasm-c-api: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.