Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
CI: 32-bit GCC/MSYS2 build for Windows (#15405)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Jul 13, 2020
1 parent 01d3397 commit 0a0b0fa
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/i686_windows_gcc.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0a0b0fa

Please sign in to comment.