Skip to content

Commit

Permalink
[swift] Add a GitHub Actions workflow for distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Feb 20, 2025
1 parent 4c20436 commit 0c9a0f1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build-swift-debugging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build Swift Debugging Extension
on:
push:
branches:
- swift-debugging
jobs:
build-extension:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Create .gclient file
run: |
cat <<EOF > "${{ runner.workspace }}/.gclient"
solutions = [
{
"name" : "devtools-frontend",
"url" : "https://github.com/GoodNotes/devtools-frontend",
"deps_file" : "DEPS",
"managed" : True,
"custom_deps" : {
},
"custom_vars": {
"checkout_cxx_debugging_extension_deps": True
},
}
]
EOF
- name: Activate depot_tools
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${{ runner.workspace }}/depot_tools"
echo "${{ runner.workspace }}/depot_tools" >> $GITHUB_PATH
- run: gclient sync
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: ./tools/bootstrap.py ../../out -no-check -release-version 90001 -patch-level 0
working-directory: ./extensions/cxx_debugging/
- uses: actions/upload-artifact@v4
with:
name: cxx_debugging_extension
path: ./out/DevTools_CXX_Debugging.stage2/cxx_debugging_extension-*.zip

0 comments on commit 0c9a0f1

Please sign in to comment.