Skip to content

Commit

Permalink
Merge branch 'do_release_builds' into origin_master
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller committed Nov 23, 2024
2 parents bea2d81 + 045353d commit a9fbc0e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Android

on:
workflow_dispatch:
push:
paths-ignore:
- scripts/docker/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
export CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
# now setup Subsurface with WebKit and build the dependencies, using the generic build script
bash -e -x ./subsurface/scripts/build.sh -desktop -build-with-webkit -release -build-deps -ftdi -prep-only ${BUILD_EXTRA_ARGS}
bash -e -x ./subsurface/scripts/build.sh -desktop -build-with-webkit -build-deps -ftdi -prep-only ${BUILD_EXTRA_ARGS}
echo "finished initial cmake setup of Subsurface - next build the package"
cd subsurface/build
Expand Down
10 changes: 8 additions & 2 deletions packaging/windows/in-container-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ set -e
mkdir -p win32
cd win32

BUILD_EXTRA_ARGS="debug"
if [[ "$1" == "-release" ]]; then
BUILD_EXTRA_ARGS=""
shift
fi

# build Subsurface
export MXEBUILDTYPE=x86_64-w64-mingw32.shared
bash -ex ../subsurface/packaging/windows/mxe-based-build.sh installer
bash -ex ../subsurface/packaging/windows/mxe-based-build.sh ${BUILD_EXTRA_ARGS} installer

# the strange two step move is in order to get predictable names to use
# in the publish step of the GitHub Action
Expand All @@ -25,7 +31,7 @@ mv subsurface/"$fullname" ${OUTPUT_DIR}/"${fullname%.exe}-installer.exe"

# build Subsurface for smtk2ssrf

bash -ex ../subsurface/packaging/windows/mxe-based-build.sh -noftdi -nolibraw subsurface
bash -ex ../subsurface/packaging/windows/mxe-based-build.sh -noftdi -nolibraw ${BUILD_EXTRA_ARGS} subsurface

bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh -a -i

Expand Down

0 comments on commit a9fbc0e

Please sign in to comment.