File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Swift Debugging Extension
2+ on :
3+ push :
4+ branches :
5+ - swift-debugging
6+ jobs :
7+ build-extension :
8+ runs-on : ubuntu-22.04
9+ steps :
10+ - uses : actions/checkout@v4
11+ - name : Create .gclient file
12+ run : |
13+ cat <<EOF > "${{ runner.workspace }}/.gclient"
14+ solutions = [
15+ {
16+ "name" : "devtools-frontend",
17+ "url" : "https://github.com/GoodNotes/devtools-frontend",
18+ "deps_file" : "DEPS",
19+ "managed" : True,
20+ "custom_deps" : {
21+ },
22+ "custom_vars": {
23+ "checkout_cxx_debugging_extension_deps": True
24+ },
25+ }
26+ ]
27+ EOF
28+ - name : Activate depot_tools
29+ run : |
30+ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${{ runner.workspace }}/depot_tools"
31+ echo "${{ runner.workspace }}/depot_tools" >> $GITHUB_PATH
32+ - run : gclient sync
33+ - uses : actions/setup-node@v4
34+ with :
35+ node-version : ' 22'
36+ - run : ./tools/bootstrap.py ../../out -no-check -release-version 90001 -patch-level 0
37+ working-directory : ./extensions/cxx_debugging/
38+ - uses : actions/upload-artifact@v4
39+ with :
40+ name : cxx_debugging_extension
41+ path : ./out/DevTools_CXX_Debugging.stage2/cxx_debugging_extension-*.zip
You can’t perform that action at this time.
0 commit comments