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 Sep 24, 2024
1 parent a28a0cf commit 79d1cb6
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/CI-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:

env:
XCODE_VERSION: '15.4'
INTERNAL_PATCH_NUMBER: 999

jobs:
resolve-values:
Expand Down Expand Up @@ -72,8 +73,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 @@ -85,3 +86,26 @@ jobs:
build-number: ${{ needs.resolve-values.outputs.build_number }}
xcode-version: ${{ env.XCODE_VERSION }}
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 79d1cb6

Please sign in to comment.