diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-14 14:13:00 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-14 21:00:10 -0700 |
commit | 754fffc795974802dc5082cb22fd163b90eef73d (patch) | |
tree | a256cd8a063e308458575f9b0744c79ba9fb85ce /scripts | |
parent | 0f3d2872008a0c5d179236e758471b905499c8ef (diff) | |
download | subsurface-754fffc795974802dc5082cb22fd163b90eef73d.tar.gz |
GitHub Actions: first CI/CD build for Mac based on GitHub Actions
This feature is in beta right now and might change without notice, but instead
of dealing with the broken Travis Mac builds, this does seem progress.
The build artifact seems to work, but it's a bit more painful to get to. Go to
https://github.com/Subsurface-divelog/subsurface/actions and click on the
corresponding run - it's then in the top right corner under Artifacts. The one
oddity is that after unzipping the file you need to manually make
Contents/MacOS/Subsurface executable.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 84a72481c..890db3b48 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -12,6 +12,10 @@ # in subsurface/build # create a log file of the build + +# don't keep going if we run into an error +set -e + exec 1> >(tee build.log) 2>&1 SRC=$(pwd) |