diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2020-12-28 12:29:13 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2021-01-17 12:51:39 +0100 |
commit | 3a016513e42c082c6b7b509bf93f63066a1b65f8 (patch) | |
tree | dd9b74eaa2e8a21ebe8a99132f18f1bd1fb1828d /.travis.yml | |
parent | ebd7badd50aeea37a2ca121409e9f68370b62855 (diff) | |
download | dlfcn-win32-3a016513e42c082c6b7b509bf93f63066a1b65f8.tar.gz dlfcn-win32-3a016513e42c082c6b7b509bf93f63066a1b65f8.tar.bz2 dlfcn-win32-3a016513e42c082c6b7b509bf93f63066a1b65f8.zip |
CI: Add static building for cmake
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3584048..ba1a8f6 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,18 +1,21 @@ | |||
1 | language: c | 1 | language: c |
2 | 2 | ||
3 | compiler: | 3 | compiler: |
4 | - x86_64-linux-gnu-gcc | ||
4 | - i686-w64-mingw32-gcc | 5 | - i686-w64-mingw32-gcc |
5 | - x86_64-w64-mingw32-gcc | 6 | - x86_64-w64-mingw32-gcc |
6 | 7 | ||
7 | addons: | 8 | addons: |
8 | apt: | 9 | apt: |
9 | packages: | 10 | packages: |
11 | - gcc | ||
10 | - gcc-mingw-w64 | 12 | - gcc-mingw-w64 |
11 | - wine | 13 | - wine |
12 | - cmake | 14 | - cmake |
13 | 15 | ||
14 | env: | 16 | env: |
15 | - ci_buildsys=cmake | 17 | - ci_buildsys=cmake ci_variant=static |
18 | - ci_buildsys=cmake ci_variant=shared | ||
16 | - ci_buildsys=Makefile | 19 | - ci_buildsys=Makefile |
17 | 20 | ||
18 | jobs: | 21 | jobs: |
@@ -39,5 +42,12 @@ jobs: | |||
39 | # Check that we have a real i586-mingw32msvc-gcc compiler as sometimes it is just a symlink to i686-w64-mingw32-gcc | 42 | # Check that we have a real i586-mingw32msvc-gcc compiler as sometimes it is just a symlink to i686-w64-mingw32-gcc |
40 | before_script: "i586-mingw32msvc-gcc -v 2>&1 | grep -q -x 'Target: i586-mingw32msvc'" | 43 | before_script: "i586-mingw32msvc-gcc -v 2>&1 | grep -q -x 'Target: i586-mingw32msvc'" |
41 | 44 | ||
45 | exclude: | ||
46 | # unsupported | ||
47 | - compiler: i686-linux-gnu-gcc | ||
48 | env: ci_buildsys=Makefile | ||
49 | - compiler: x86_64-linux-gnu-gcc | ||
50 | env: ci_buildsys=Makefile | ||
51 | |||
42 | script: | 52 | script: |
43 | - ci_target=${CC%-*} ./tools/ci-build.sh | 53 | - ci_target=${CC%-*} ./tools/ci-build.sh |