diff options
author | Paul Buxton <paulbuxton.mail@googlemail.com> | 2020-05-30 12:21:22 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-06-25 11:00:51 -0700 |
commit | a753845d5acd6d25ff74dc969a9ea6307d8abe6a (patch) | |
tree | 04ed77091a154c90f99a3c9903fa293dbddb451a /.github | |
parent | edc1499e9153907c2901611516a0592db3f56e56 (diff) | |
download | subsurface-a753845d5acd6d25ff74dc969a9ea6307d8abe6a.tar.gz |
build-system/MXE: build with more up to date MXE tools.
- use hidapi grantlee and mdbtools from MXE
- update MXE version to use QT 5.15, and pull in libzstd and CMake 3.17.3
- fix linking of winmm on windows build with new mxe
- add some instructions on building the container
- add some new dependancies from QT 5.15 to the packaging
- add a patch to MXE to Build qtconnectivity with native-win32-bluetooth
[Dirk Hohndel: small refactor]
Signed-off-by: Paul Buxton <paulbuxton.mail@googlemail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/scripts/windows-container-prep.sh | 8 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 16 |
2 files changed, 10 insertions, 14 deletions
diff --git a/.github/workflows/scripts/windows-container-prep.sh b/.github/workflows/scripts/windows-container-prep.sh new file mode 100644 index 000000000..e6f447d91 --- /dev/null +++ b/.github/workflows/scripts/windows-container-prep.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# abstract the prepare commands for the windows build into a script that can be reused +# instead of a yaml file +cd /win +ln -s /__w/subsurface/subsurface . +echo "downloading sources for fresh build" +bash subsurface/scripts/get-dep-lib.sh single . libzip +bash subsurface/scripts/get-dep-lib.sh single . googlemaps diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d83b8735a..be38ae37e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -19,20 +19,8 @@ jobs: - name: get other dependencies run: | - echo "creating the link from /win/subsurface" - cd /win - ln -s /__w/subsurface/subsurface . - ls -l - ls -l subsurface/scripts - echo "installing missing container components" - apt-get install -y ca-certificates libtool - echo "downloading sources for fresh build" - bash subsurface/scripts/get-dep-lib.sh single . libzip - bash subsurface/scripts/get-dep-lib.sh single . hidapi - bash subsurface/scripts/get-dep-lib.sh single . googlemaps - bash subsurface/scripts/get-dep-lib.sh single . grantlee - bash subsurface/scripts/get-dep-lib.sh single . mdbtools - + echo "Running script to install additional dependancies into container" + bash -x subsurface/.github/workflows/scripts/windows-container-prep.sh 2>&1 | tee pre-build.log - name: run build run: | cd /win |