Skip to content

Commit

Permalink
Applied updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Mar 4, 2020
1 parent c38174b commit cbff37c
Show file tree
Hide file tree
Showing 221 changed files with 543 additions and 368 deletions.
24 changes: 12 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ matrix:
- TARGET="coverity"
compiler: clang
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
addons:
Expand All @@ -31,7 +31,7 @@ matrix:
- TARGET="linux-clang"
compiler: clang
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
- name: "Linux with gcc"
Expand All @@ -42,7 +42,7 @@ matrix:
- TARGET="linux-gcc"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
- name: "Linux with gcc on s390x (Docker)"
Expand All @@ -55,7 +55,7 @@ matrix:
- TARGET="docker"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
services:
Expand All @@ -69,7 +69,7 @@ matrix:
- TARGET="linux-gcc-no-optimization"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
- name: "Linux with gcc and Python module"
Expand All @@ -80,7 +80,7 @@ matrix:
- TARGET="linux-gcc-python"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
- name: "Linux with gcc and Python 2 module"
Expand All @@ -92,7 +92,7 @@ matrix:
- TARGET="linux-gcc-python2"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
- name: "Linux with gcc and Python 3 module"
Expand All @@ -104,15 +104,15 @@ matrix:
- TARGET="linux-gcc-python3"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
- name: "Linux with gcc and Python 2 module (setup.py)"
env:
- TARGET="linux-gcc-python-setup-py"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
python: 2.7
Expand All @@ -121,10 +121,10 @@ matrix:
- TARGET="linux-gcc-python-setup-py"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
python: 3.4
python: 3.6
- name: "Linux with gcc and shared libraries"
env:
- CONFIGURE_OPTIONS=""
Expand All @@ -133,7 +133,7 @@ matrix:
- TARGET="linux-gcc-shared"
compiler: gcc
os: linux
dist: xenial
dist: bionic
sudo: required
group: edge
- name: "Mac OS with clang"
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Acknowledgements: libfwsi

Copyright (C) 2010-2019, Joachim Metz <[email protected]>
Copyright (C) 2010-2020, Joachim Metz <[email protected]>

66 changes: 22 additions & 44 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VisualStudioVersion: 15.0
configuration: Release
- TARGET: vs2019
BUILD_ENVIRONMENT: msbuild
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VisualStudioVersion: 16.0
configuration: Release
- TARGET: python27
BUILD_ENVIRONMENT: python
PYTHON: "C:\\Python27\\python.exe"
Expand All @@ -56,8 +61,6 @@ environment:
- TARGET: cygwin-gcc
BUILD_ENVIRONMENT: cygwin
CONFIGURE_OPTIONS: ""
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
- TARGET: cygwin-gcc-no-optimization
BUILD_ENVIRONMENT: cygwin
CONFIGURE_OPTIONS: "--enable-shared=no"
Expand All @@ -67,25 +70,17 @@ environment:
- TARGET: cygwin-gcc-python
BUILD_ENVIRONMENT: cygwin
CONFIGURE_OPTIONS: "--enable-python"
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
- TARGET: cygwin-gcc-python2
BUILD_ENVIRONMENT: cygwin
CONFIGURE_OPTIONS: "--enable-python2"
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
PYTHON_VERSION: 2
- TARGET: cygwin-gcc-python3
BUILD_ENVIRONMENT: cygwin
CONFIGURE_OPTIONS: "--enable-python3"
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
PYTHON_VERSION: 3
- TARGET: cygwin64-gcc
BUILD_ENVIRONMENT: cygwin64
CONFIGURE_OPTIONS: ""
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
- TARGET: cygwin64-gcc-no-optimization
BUILD_ENVIRONMENT: cygwin64
CONFIGURE_OPTIONS: "--enable-shared=no"
Expand All @@ -95,25 +90,17 @@ environment:
- TARGET: cygwin64-gcc-python
BUILD_ENVIRONMENT: cygwin64
CONFIGURE_OPTIONS: "--enable-python"
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
- TARGET: cygwin64-gcc-python2
BUILD_ENVIRONMENT: cygwin64
CONFIGURE_OPTIONS: "--enable-python2"
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
PYTHON_VERSION: 2
- TARGET: cygwin64-gcc-python3
BUILD_ENVIRONMENT: cygwin64
CONFIGURE_OPTIONS: "--enable-python3"
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
PYTHON_VERSION: 3
- TARGET: mingw-gcc
BUILD_ENVIRONMENT: mingw
CONFIGURE_OPTIONS: ""
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
- TARGET: mingw-gcc-no-optimization
BUILD_ENVIRONMENT: mingw
CONFIGURE_OPTIONS: "--enable-shared=no"
Expand All @@ -123,8 +110,6 @@ environment:
- TARGET: mingw-w64-gcc
BUILD_ENVIRONMENT: mingw-w64
CONFIGURE_OPTIONS: ""
CFLAGS: "--coverage"
LDFLAGS: "--coverage"
- TARGET: mingw-w64-gcc-no-optimization
BUILD_ENVIRONMENT: mingw-w64
CONFIGURE_OPTIONS: "--enable-shared=no"
Expand All @@ -136,7 +121,8 @@ install:
- cmd: git clone https://github.com/codecov/codecov-bash.git ..\codecov-bash
- cmd: if [%BUILD_ENVIRONMENT%]==[msbuild] (
git clone https://github.com/libyal/vstools.git ..\vstools )
- sh: if test ${BUILD_ENVIRONMENT} = "python"; then brew update && brew install gettext gnu-sed python3 && brew link --force gettext; fi
- sh: if test ${BUILD_ENVIRONMENT} = "python"; then brew update && brew install gettext gnu-sed && brew link --force gettext; fi
- sh: if test ${BUILD_ENVIRONMENT} = "python"; then brew install python3 || true; fi
- ps: If ($env:BUILD_ENVIRONMENT -eq "python") {
Invoke-Expression "${env:PYTHON} -m pip install -U pip setuptools twine wheel" }
- cmd: if [%BUILD_ENVIRONMENT%]==[cygwin] (
Expand All @@ -148,29 +134,21 @@ build_script:
- ps: If ($env:BUILD_ENVIRONMENT -eq "msbuild" -or ($env:BUILD_ENVIRONMENT -eq "python" -and $isWindows)) {
.\synclibs.ps1;
.\autogen.ps1 }
- cmd: if [%TARGET%]==[vs2008] (
msbuild /verbosity:quiet msvscpp\libfwsi.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" )
- cmd: if [%TARGET%]==[vs2010] (
set PYTHONPATH=..\vstools &&
C:\Python27\python.exe ..\vstools\scripts\msvscpp-convert.py --no-python-dll --output-format 2010 msvscpp\libfwsi.sln &&
msbuild /verbosity:quiet vs2010\libfwsi.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" )
- cmd: if [%TARGET%]==[vs2012] (
set PYTHONPATH=..\vstools &&
C:\Python27\python.exe ..\vstools\scripts\msvscpp-convert.py --extend-with-x64 --output-format 2012 --python-path "C:\\Python27-x64" msvscpp\libfwsi.sln &&
msbuild /verbosity:quiet vs2012\libfwsi.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" )
- cmd: if [%TARGET%]==[vs2013] (
set PYTHONPATH=..\vstools &&
C:\Python27\python.exe ..\vstools\scripts\msvscpp-convert.py --output-format 2013 msvscpp\libfwsi.sln &&
msbuild /verbosity:quiet vs2013\libfwsi.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" )
- cmd: if [%TARGET%]==[vs2015] (
set PYTHONPATH=..\vstools &&
C:\Python27\python.exe ..\vstools\scripts\msvscpp-convert.py --output-format 2015 msvscpp\libfwsi.sln &&
msbuild /verbosity:quiet vs2015\libfwsi.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" )
- cmd: if [%TARGET%]==[vs2017] (
set PYTHONPATH=..\vstools &&
C:\Python27\python.exe ..\vstools\scripts\msvscpp-convert.py --extend-with-x64 --no-python-dll --output-format 2017 --with-dokany msvscpp\libfwsi.sln &&
msbuild /verbosity:quiet vs2017\libfwsi.sln /property:Platform=Win32 /property:PlatformToolset=v141 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
msbuild /verbosity:quiet vs2017\libfwsi.sln /property:Platform=x64 /property:PlatformToolset=v141 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" )
- ps: If ($env:TARGET -eq "vs2008") {
.\build.ps1 -VisualStudioVersion 2008 -VSToolsOptions "" }
- ps: If ($env:TARGET -eq "vs2010") {
.\build.ps1 -VisualStudioVersion 2010 -VSToolsOptions "--no-python-dll" }
- ps: If ($env:TARGET -eq "vs2012") {
.\build.ps1 -VisualStudioVersion 2012 -VSToolsOptions "--extend-with-x64 --python-path C:\\Python27-x64" }
- ps: If ($env:TARGET -eq "vs2013") {
.\build.ps1 -VisualStudioVersion 2013 -VSToolsOptions "" }
- ps: If ($env:TARGET -eq "vs2015") {
.\build.ps1 -VisualStudioVersion 2015 -VSToolsOptions "" }
- ps: If ($env:TARGET -eq "vs2017") {
.\build.ps1 -VisualStudioVersion 2017 -Platform Win32 -VSToolsOptions "--extend-with-x64 --no-python-dll --with-dokany";
.\build.ps1 -VisualStudioVersion 2017 -Platform x64 -VSToolsOptions "--extend-with-x64 --no-python-dll --with-dokany" }
- ps: If ($env:TARGET -eq "vs2019") {
.\build.ps1 -VisualStudioVersion 2019 -VSToolsOptions "--extend-with-x64 --no-python-dll --with-dokany" }
- cmd: if [%BUILD_ENVIRONMENT%]==[python] (
"%PYTHON%" setup.py bdist_msi bdist_wheel )
- sh: if test ${BUILD_ENVIRONMENT} = "python"; then ./synclibs.sh && ./autogen.sh && ./configure ${CONFIGURE_OPTIONS} && make > /dev/null; fi
Expand Down
Loading

0 comments on commit cbff37c

Please sign in to comment.