Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 17, 2021

What changes were proposed in this pull request?

This PR aims to add a test coverage for Windows on GitHub Action additionally.

Why are the changes needed?

This PR aims to replace AppVeyor with GitHub Action eventually.

AS IS(AppVeyor)

orc/appveyor.yml

Lines 18 to 41 in ae660f3

environment:
matrix:
- JOB: Visual Studio 2015
CMAKE_GENERATOR: Visual Studio 14 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
platform:
- x64
configuration:
- Debug
build_script:
- mkdir build
- cd build
- if "%platform%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64
- cmake .. -G "%CMAKE_GENERATOR%"
-DCMAKE_BUILD_TYPE=%CONFIGURATION%
-DBUILD_CPP_TESTS=ON
-DBUILD_LIBHDFSPP=OFF
-DBUILD_TOOLS=OFF
-DBUILD_JAVA=OFF
- cmake --build . --config %CONFIGURATION%
- ctest -VV -C %CONFIGURATION%

THIS PR(GitHub Action)

https://github.com/apache/orc/runs/4662857757?check_suite_focus=true

-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe - skipped
-- compiler MSVC version 19.0.24245.0
...
Test project D:/a/orc/orc/build
    Start 1: orc-test
1/1 Test #1: orc-test .........................   Passed   61.99 sec

How was this patch tested?

Pass the GitHub Action with newly add Windows job.

@dongjoon-hyun dongjoon-hyun added this to the 1.8.0 milestone Nov 7, 2021
@dongjoon-hyun dongjoon-hyun changed the title ORC-875: Add GitHub Action job for Windows ORC-875: Add GitHub Action job for Windows Server 2019 Dec 29, 2021
@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review December 30, 2021 00:22
@dongjoon-hyun
Copy link
Member Author

Hi, @williamhyun . Could you review this?
We are going to run and monitor this job in order to decide the removal of AppVeyor.

Copy link
Member

@williamhyun williamhyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

@williamhyun williamhyun merged commit 2b62dc3 into apache:main Dec 30, 2021
@dongjoon-hyun
Copy link
Member Author

Thank you so much, @williamhyun .

@dongjoon-hyun dongjoon-hyun deleted the ORC-875 branch December 30, 2021 04:06
dongjoon-hyun added a commit that referenced this pull request Dec 30, 2021
### What changes were proposed in this pull request?

This PR aims to add a test coverage for Windows on GitHub Action additionally.

### Why are the changes needed?

This PR aims to replace `AppVeyor` with GitHub Action eventually.

**AS IS(AppVeyor)**

https://github.com/apache/orc/blob/ae660f3006cae145d0db7a897fd81fe94029c0b2/appveyor.yml#L18-L41

**THIS PR(GitHub Action)**

https://github.com/apache/orc/runs/4662857757?check_suite_focus=true

```
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe - skipped
-- compiler MSVC version 19.0.24245.0
...
Test project D:/a/orc/orc/build
    Start 1: orc-test
1/1 Test #1: orc-test .........................   Passed   61.99 sec
```

### How was this patch tested?

Pass the GitHub Action with newly add Windows job.

(cherry picked from commit 2b62dc3)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun
Copy link
Member Author

I backported this to branch-1.7 too.

@dongjoon-hyun dongjoon-hyun modified the milestones: 1.8.0, 1.7.3 Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants