mirror of
https://github.com/ariya/phantomjs.git
synced 2024-09-11 12:55:33 +03:00
CI: 32-bit GCC/MSYS2 build for Windows (#15405)
This commit is contained in:
parent
01d3397002
commit
0a0b0facb1
30
.github/workflows/i686_windows_gcc.yml
vendored
Normal file
30
.github/workflows/i686_windows_gcc.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: i686_windows_gcc
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
i686_windows_gcc:
|
||||||
|
runs-on: windows-2019
|
||||||
|
env:
|
||||||
|
CC: i686-w64-mingw32-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 mingw-w64-cross-toolchain mingw32/mingw-w64-i686-cmake mingw32/mingw-w64-i686-qtwebkit mingw32/mingw-w64-i686-python2
|
||||||
|
- run: echo "::add-path::C:\\msys64\\mingw32\\bin"
|
||||||
|
- run: i686-w64-mingw32-gcc --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
|
Loading…
Reference in New Issue
Block a user