Skip to content

Generate and upload artifacts through Github actions workflow. #1

Generate and upload artifacts through Github actions workflow.

Generate and upload artifacts through Github actions workflow. #1

name: Build and Upload Engine Artifacts
on:
pull_request:
jobs:
host_debug_framework:
runs-on: macos-latest
defaults:
run:
shell: bash
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
path: ''
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Set up depot_tools / gclient
shell: bash
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/depot_tools
# Append depot_tools to the PATH for subsequent steps
echo "$HOME/depot_tools" >> $GITHUB_PATH
- name: Copy gclient file
run: |
cd flock
cp engine/scripts/standard.gclient .gclient
- name: Gclient sync
shell: bash
run: |
gclient sync -D --no-history --shallow --with_branch_heads
- name: Build Engine
shell: bash
run: |
cd engine/src
./flutter/bin/et build --config ci/host_debug_framework