Skip to content

Commit

Permalink
Adds CI for the Internal Beta build with the Debug Menu available
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkgang committed Oct 3, 2024
1 parent 6f8e1a9 commit 9421d0c
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/CI-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ on:
env:
XCODE_VERSION: '15.4'
DISTRIBUTE_TO_TESTFLIGHT: ${{ github.event_name == 'push' || inputs.distribute }}
INTERNAL_PATCH_NUMBER: 999

jobs:
resolve-values:
name: "Resolve values"
Expand Down Expand Up @@ -78,8 +80,8 @@ jobs:
name: version-info
path: version-info/version_info.json

build:
name: Build
build-public:
name: Build Public Apps
needs: resolve-values
uses: bitwarden/ios/.github/workflows/build.yml@main
strategy:
Expand All @@ -93,3 +95,26 @@ jobs:
distribute: ${{ fromJSON(needs.resolve-values.outputs.distribute_to_testflight) }}
upload_version_info: false
secrets: inherit

build-internal-beta:
name: Build Internal Beta
runs-on: macos-14
needs: resolve-values
steps:
- name: Set patch version for internal builds
id: fix-patch-version
run: |
version_name=${{ needs.resolve-values.outputs.build_version }}
internal_version_name="${version_name%.*}.${{ env.INTERNAL_PATCH_NUMBER }}"
echo "version_name=$internal_version_name" >> $GITHUB_OUTPUT
echo "::warning::Internal version name: $internal_version_name"
- name: Build
uses: bitwarden/ios/.github/workflows/build.yml@main
with:
build-variant: Beta
build-version: ${{ steps.fix-patch-version.outputs.version_name }}
build-number: ${{ needs.resolve-values.outputs.build_number }}
xcode-version: ${{ env.XCODE_VERSION }}
compiler-flags: "DEBUG_MENU"
secrets: inherit

0 comments on commit 9421d0c

Please sign in to comment.