build: add windows build to CI (#3212)
Refs: https://github.com/libuv/libuv/issues/3325 Signed-off-by: Darshan Sen <darshan.sen@postman.com>
This commit is contained in:
parent
6cce781b06
commit
1cefd94d56
30
.github/workflows/CI.yml
vendored
30
.github/workflows/CI.yml
vendored
@ -3,6 +3,36 @@ name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-windows:
|
||||
runs-on: windows-${{ matrix.config.server }}
|
||||
name: build-${{ matrix.config.toolchain}}-${{ matrix.config.arch}}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- {toolchain: Visual Studio 15 2017, arch: Win32, server: 2016}
|
||||
- {toolchain: Visual Studio 15 2017, arch: x64, server: 2016}
|
||||
- {toolchain: Visual Studio 16 2019, arch: Win32, server: 2019}
|
||||
- {toolchain: Visual Studio 16 2019, arch: x64, server: 2019}
|
||||
- {toolchain: Visual Studio 17 2022, arch: Win32, server: 2022}
|
||||
- {toolchain: Visual Studio 17 2022, arch: x64, server: 2022}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Envinfo
|
||||
run: npx envinfo
|
||||
- name: Build
|
||||
shell: cmd
|
||||
run: |
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. -DBUILD_TESTING=ON -G "${{ matrix.config.toolchain }}" -A ${{ matrix.config.arch }}
|
||||
cmake --build .
|
||||
- name: Test
|
||||
shell: cmd
|
||||
run: |
|
||||
cd build
|
||||
ctest -C Debug --output-on-failure
|
||||
|
||||
build-android:
|
||||
runs-on: ubuntu-latest
|
||||
container: reactnativecommunity/react-native-android:2020-5-20
|
||||
|
||||
@ -1070,6 +1070,11 @@ TEST_IMPL(tty_set_style) {
|
||||
WORD attr;
|
||||
int i, length;
|
||||
|
||||
#if _MSC_VER >= 1920 && _MSC_VER <= 1929
|
||||
RETURN_SKIP("Broken on Microsoft Visual Studio 2019, to be investigated. "
|
||||
"See: https://github.com/libuv/libuv/issues/3304");
|
||||
#endif
|
||||
|
||||
loop = uv_default_loop();
|
||||
|
||||
initialize_tty(&tty_out);
|
||||
@ -1348,6 +1353,11 @@ TEST_IMPL(tty_escape_sequence_processing) {
|
||||
struct captured_screen actual = {0}, expect = {0};
|
||||
int dir;
|
||||
|
||||
#if _MSC_VER >= 1920 && _MSC_VER <= 1929
|
||||
RETURN_SKIP("Broken on Microsoft Visual Studio 2019, to be investigated. "
|
||||
"See: https://github.com/libuv/libuv/issues/3304");
|
||||
#endif
|
||||
|
||||
loop = uv_default_loop();
|
||||
|
||||
initialize_tty(&tty_out);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user