This repository has been archived by the owner on May 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Building on Windows (with MSYS2) using GCC and Clang (#15405)
- Loading branch information
Showing
2 changed files
with
61 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: amd64_windows_clang | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
amd64_windows_clang: | ||
runs-on: windows-2019 | ||
env: | ||
CC: clang | ||
CXX: clang++ | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: echo "::add-path::C:\\msys64\\usr\\bin" | ||
- run: pacman --version | ||
- run: pacman -Sy | ||
- run: pacman --noconfirm -S pacman-mirrors | ||
- name: 'Install requirements' | ||
run: pacman --noconfirm -S mingw64/mingw-w64-x86_64-clang mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-qtwebkit mingw64/mingw-w64-x86_64-python2 | ||
- run: echo "::add-path::C:\\msys64\\mingw64\\bin" | ||
- run: clang++ --version && cmake --version && qmake --version | ||
name: 'Display tools version' | ||
- run: bash ./configure | ||
name: './configure' | ||
env: | ||
CMAKE_CMD: 'cmake -G "MinGW Makefiles"' | ||
- run: mingw32-make | ||
name: 'make' | ||
- run: file ./bin/phantomjs | ||
- run: ldd ./bin/phantomjs | ||
- run: ./bin/phantomjs --version |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: amd64_windows_gcc | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
amd64_windows_gcc: | ||
runs-on: windows-2019 | ||
env: | ||
CC: gcc | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: echo "::add-path::C:\\msys64\\usr\\bin" | ||
- run: pacman --version | ||
- run: pacman -Sy | ||
- run: pacman --noconfirm -S pacman-mirrors | ||
- name: 'Install requirements' | ||
run: pacman --noconfirm -S mingw64/mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-qtwebkit mingw64/mingw-w64-x86_64-python2 | ||
- run: echo "::add-path::C:\\msys64\\mingw64\\bin" | ||
- run: g++ --version && cmake --version && qmake --version | ||
name: 'Display tools version' | ||
- run: bash ./configure | ||
name: './configure' | ||
env: | ||
CMAKE_CMD: 'cmake -G "MinGW Makefiles"' | ||
- run: mingw32-make | ||
name: 'make' | ||
- run: file ./bin/phantomjs | ||
- run: ldd ./bin/phantomjs | ||
- run: ./bin/phantomjs --version |