Use chromium/6367
as a default branch (#12)
#35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build artifacts | |
on: | |
push: | |
pull_request: | |
create: | |
env: | |
ANGLE_BUILDER_OUTPUT_FOLDER: ./angle-builder-output | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout angle-builder | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
- name: Install angle-builder | |
run: pip install . | |
- name: Build artifacts for macos-x64 | |
run: angle-builder macos-x64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER | |
- name: Build artifacts for macos-arm64 | |
run: angle-builder macos-arm64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER | |
- name: Build artifacts for macos-universal | |
run: angle-builder macos-universal --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER | |
- name: Build artifacts for iphoneos-arm64 | |
run: angle-builder iphoneos-arm64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER | |
- name: Build artifacts for iphonesimulator-x64 | |
run: angle-builder iphonesimulator-x64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER | |
- name: Build artifacts for iphonesimulator-arm64 | |
run: angle-builder iphonesimulator-arm64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER | |
- name: Build artifacts for iphoneall-universal | |
run: angle-builder iphoneall-universal --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER | |
- name: Store artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: macos-angle-artifacts | |
path: ${{ env.ANGLE_BUILDER_OUTPUT_FOLDER }} | |
- name: Upload artifacts to release | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: "${{ env.ANGLE_BUILDER_OUTPUT_FOLDER }}/*" | |
draft: true |