Add a progress dialog when cancelling tasks.
[gpodder.git] / .circleci / config.yml
blob4bf9b1d3138d583abc9711a8c6be9e34cfe171ff
1 # :noTabs=true:mode=yaml:tabSize=2:indentSize=2:
2 version: 2
3 jobs:
4   release-from-macos:
5     macos:
6       xcode: "13.2.1"
7     shell: /bin/bash --login -o pipefail
8     environment:
9       - BUNDLE_TAG: 22.8.27
10     steps:
11       - checkout
12       - run: >
13              curl -L -o "pythonbase-$BUNDLE_TAG.zip" "https://github.com/gpodder/gpodder-osx-bundle/releases/download/$BUNDLE_TAG/pythonbase-$BUNDLE_TAG.zip";
14              curl -L -o "pythonbase-$BUNDLE_TAG.zip.sha256" "https://github.com/gpodder/gpodder-osx-bundle/releases/download/$BUNDLE_TAG/pythonbase-$BUNDLE_TAG.zip.sha256";
15              saved_hash=$(awk '{print $1;}' < "pythonbase-$BUNDLE_TAG.zip.sha256");
16              comp_hash=$(openssl sha256 "pythonbase-$BUNDLE_TAG.zip" | awk '{print $2;}');
17              if [ "$saved_hash" != "$comp_hash" ]; then echo "E: $saved_hash != $comp_hash"; exit 1; else echo "valid hash"; fi;
18              LC_CTYPE=C.UTF-8 LANG=C.UTF-8 tools/mac-osx/release_on_mac.sh "$(pwd)/pythonbase-$BUNDLE_TAG.zip" || exit 1;
19              rm -Rf tools/mac-osx/_build/{gPodder.app,*.deps.zip*,gPodder.contents,run-*,gpo,gpodder-migrate2tres}
20       - store_artifacts:
21           path: tools/mac-osx/_build/
23 workflows:
24   version: 2
25   build-bundle:
26     jobs:
27       - release-from-macos:
28           filters:
29             branches:
30               ignore:
31                 - adaptive