From 1d2bbdbedde15b87181fab5115419f658cb1f58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Stormacq?= Date: Fri, 2 Aug 2024 12:18:40 +0200 Subject: [PATCH] add buildspec yaml --- buildspec.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 buildspec.yaml diff --git a/buildspec.yaml b/buildspec.yaml new file mode 100644 index 0000000..9c28e0b --- /dev/null +++ b/buildspec.yaml @@ -0,0 +1,29 @@ +# buildspec.yml +version: 0.2 + +phases: + pre_build: + commands: + - code/ci_actions/01_keychain.sh + - code/ci_actions/02_amplify.sh + + build: + commands: + - code/ci_actions/03_build.sh + - code/ci_actions/04_local_tests.sh + + post_build: + commands: + - code/ci_actions/06_deploy_testflight.sh + - code/ci_actions/07_cleanup.sh + +artifacts: + type: zip + files: + - 'code/build-release/getting-started.xcarchive/Products/Applications/getting\ started.app/*' + name: getting_started_app-$(date +%Y%m%d%H%M%S).zip + base-directory: 'code/build-release/getting-started.xcarchive/Products/Applications' + +cache: + paths: + - 'code/build-release/**/*' \ No newline at end of file