From a753845d5acd6d25ff74dc969a9ea6307d8abe6a Mon Sep 17 00:00:00 2001 From: Paul Buxton Date: Sat, 30 May 2020 12:21:22 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- .github/workflows/scripts/windows-container-prep.sh | 8 ++++++++ .github/workflows/windows.yml | 16 ++-------------- 2 files changed, 10 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/scripts/windows-container-prep.sh (limited to '.github') 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 -- cgit v1.2.3-70-g09d2