Skip to content

Mac build

Mac build #2

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# © 2023 Floorp Projects & Contributors
name: "(A) ⚒ Mac build"
on:
workflow_dispatch:
inputs:
debug:
type: boolean
required: true
beta:
type: boolean
required: true
run-name: Mac build
jobs:
get-buildid:
runs-on: ubuntu-latest
outputs:
buildids: ${{ steps.get.outputs.bid }}
steps:
- id: get
shell: bash -xe {0}
run: |
bdat=`date +"%Y%m%d%I%M%S"`
echo "bid=${bdat}" >> $GITHUB_OUTPUT
part1:
needs: [get-buildid]
uses: ./.github/workflows/mac_build.yml
with:
debug: ${{inputs.debug}}
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
profile-generate-mode: true
part2:
needs: [get-buildid, part1]
uses: ./.github/workflows/mac_pgo.yml
part3:
needs: [get-buildid, part1, part2]
uses: ./.github/workflows/mac_build.yml
with:
debug: ${{inputs.debug}}
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
build-with-profdata-and-jarlog: true
beta: ${{inputs.beta}}
part4:
needs: [get-buildid, part1, part2, part3]
uses: ./.github/workflows/mac_integration.yml
secrets: inherit
with:
x86_64_artifact_name: floorp-mac-x86_64-package
aarch64_artifact_name: floorp-mac-aarch64-package
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
beta: ${{inputs.beta}}