Skip to content

Merge pull request #3997 from masatake/pascal--line-comment #1179

Merge pull request #3997 from masatake/pascal--line-comment

Merge pull request #3997 from masatake/pascal--line-comment #1179

name: cross compile with mingw-w64 on ubuntu
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
cross-compile:
strategy:
fail-fast: false
matrix:
build-machine-os: [ubuntu-22.04, ubuntu-20.04]
target: [i686-w64-mingw32,x86_64-w64-mingw32]
runs-on: ${{ matrix.build-machine-os }}
steps:
- uses: actions/checkout@v4
- run: sudo apt-get -y -o APT::Immediate-Configure=false update
- run: sudo apt-get -y -o APT::Immediate-Configure=false install mingw-w64 gcc make automake autoconf file
- run: ./autogen.sh
- name: Run ./configure ...
run: |
./configure \
--host=${{ matrix.target }} \
--disable-iconv \
--disable-xml \
--disable-json \
--disable-yaml \
--disable-pcre2 \
CC=${{ matrix.target }}-gcc \
CFLAGS='-v' \
AR=${{ matrix.target }}-ar \
RANLIB=${{ matrix.target }}-ranlib \
WINDRES=${{ matrix.target }}-windres
- run: make V=1
- run: file ctags.exe | grep PE32