-
Notifications
You must be signed in to change notification settings - Fork 43
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
0596de7
commit 3a3ef88
Showing
4 changed files
with
35 additions
and
16 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 |
---|---|---|
|
@@ -49,29 +49,39 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
timeout-minutes: 15 | ||
with: | ||
detached: true | ||
- uses: lukka/get-cmake@latest | ||
- uses: GuillaumeFalourd/[email protected] | ||
with: | ||
sdk-version: 20348 | ||
- uses: ilammy/[email protected] | ||
with: | ||
arch: x86 | ||
sdk: "10.0.20348.0" | ||
- uses: lukka/get-cmake@latest | ||
- name: Build Win32 Release | ||
- 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 | ||
- name: Copy octane | ||
run: | | ||
copy test\octane\*.js | ||
dir | ||
- name: Build Win32 Release | ||
run: | | ||
CMake -G "Visual Studio 16 2019" -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_VERSION:STRING="10.0" -DCMAKE_SYSTEM_PROCESSOR=x86 -DESCARGOT_ARCH=x86 -DESCARGOT_MODE=release -Bout/win32_release_ninja/ -DESCARGOT_HOST=windows -DESCARGOT_OUTPUT=shell -DESCARGOT_LIBICU_SUPPORT=ON -DESCARGOT_LIBICU_SUPPORT_WITH_DLOPEN=OFF -DESCARGOT_TEST=ON -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=release | ||
cd out/win32_release_ninja | ||
ninja | ||
copy ..\..\test\octane\*.js | ||
.\escargot.exe run.js | ||
CMake --build out/win32_release_ninja/ --config Release | ||
.\out\win32_release_ninja\escargot.exe run.js | ||
- uses: ilammy/[email protected] | ||
with: | ||
arch: x64 | ||
sdk: "10.0.20348.0" | ||
- name: Build Win64 Release | ||
run: | | ||
CMake -G "Visual Studio 16 2019" -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_VERSION:STRING="10.0" -DCMAKE_SYSTEM_PROCESSOR=x64 -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=release -Bout/win64_release_ninja/ -DESCARGOT_HOST=windows -DESCARGOT_OUTPUT=shell -DESCARGOT_LIBICU_SUPPORT=ON -DESCARGOT_LIBICU_SUPPORT_WITH_DLOPEN=OFF -DESCARGOT_TEST=ON -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=release | ||
CMake --build out/win64_release_ninja/ --config Release | ||
.\out\win64_release_ninja\escargot.exe run.js | ||
- if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
timeout-minutes: 15 | ||
build-test-on-android: | ||
runs-on: macos-12 | ||
strategy: | ||
|
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
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