Opened 11 years ago

Closed 7 years ago

#659 closed task (wontfix)

Add Windows cross-compiling to Travis CI

Reported by: mloskot Owned by: robe
Priority: major Milestone: 3.7.0
Component: Default Version: 3.4.0
Severity: Unassigned Keywords: travisci, buildbot
Cc:

Description

This seems like a feasible route to follow in order to make Travis CI build and test GEOS for Windows:

For minimal Windows support, you may go this route: 
* Install these packages: binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686 wine 
* CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ 
* Link everything static, use the link flags -static-libgcc -static-libstdc++ 
* run tests with wine.

from Boost mailing list.

Change History (8)

comment:1 by robe, 11 years ago

interesting. I presume these packages are available already on travis ci?

comment:2 by robe, 11 years ago

Milestone: 3.5.0
Owner: changed from geos-devel@… to robe

comment:3 by mloskot, 11 years ago

Regina,

Each Travis CI Environment comes with a bunch of pre-installed packages. If we need anything else, we simple apt-get it, whatever comes with Ubuntu 12.04.

If you want, here is my Travis CI playground: https://github.com/mloskot/travis-ci-test

  1. Fork it to your GitHub account
  2. Go to https://travis-ci.org
  3. Log in with your GitHub account
  4. Go to https://travis-ci.org/profile
  5. Select your fork of the travis-ci-test repository
  6. Flip switch to ON to enable Travis CI for your fork repo
  7. Experiment

You can't break anything (if something hangs, it will be killed after 50 minutes timeout).

comment:4 by robe, 11 years ago

GDAL tests on mingw and MacOSX with travis:

4:13:16	robe2:	EvenR: I see you have GDAL testing on mingw with travis. Is that hard to set up?
14:13:47	robe2:	also macOSx interesting
14:15:17	EvenR:	robe2: not that much : https://github.com/rouault/gdal_coverage/blob/trunk_mingw/.travis.yml and https://github.com/rouault/gdal_coverage/blob/trunk_travis_macosx/.travis.yml
14:15:38	EvenR:	the key for MacOsX is to define language: objective-c which tricks Travis to use a Mac VM

comment:5 by robe, 9 years ago

Milestone: 3.5.0GEOS Future

comment:6 by robe, 9 years ago

Milestone: GEOS Future3.6.0

comment:7 by strk, 8 years ago

Milestone: 3.6.03.7.0

Ticket retargeted after milestone closed

comment:8 by robe, 7 years ago

Resolution: wontfix
Status: newclosed

don't think I'll ever get to this so just closing.

Note: See TracTickets for help on using tickets.