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 afe2767
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build-swift-debugging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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 > ../.gclient
solutions = [
{
"name" : "devtools-frontend",
"deps_file" : "DEPS",
"managed" : True,
"custom_deps" : {
},
"custom_vars": {
"checkout_cxx_debugging_extension_deps": True
},
}
]
EOF
- name: Activate depot_tools
run: echo "$PWD/third_party/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 afe2767

Please sign in to comment.