File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed
Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change 7676 name : windows-${{ matrix.arch }}
7777 path : artifacts/windows_${{ matrix.arch }}
7878
79+ linux-all :
80+ name : Linux (all)
81+ runs-on : ubuntu-latest
82+ container : ghcr.io/avaloniaui/clang-cross-builder:latest
83+ steps :
84+ - name : Checkout
85+ uses : actions/checkout@v4
86+ with :
87+ submodules : recursive
88+ fetch-depth : 0
89+ persist-credentials : true
90+ clean : false
91+
92+ - name : Sync Skia dependencies
93+ run : |
94+ export PATH="${GITHUB_WORKSPACE}/depot_tools:${PATH}"
95+ cd depot_tools
96+ ./update_depot_tools
97+ cd ../skia
98+ python3 tools/git-sync-deps
99+
100+ - name : Build (all arches)
101+ env :
102+ CLANG_BUILDER_IMAGE : ghcr.io/avaloniaui/clang-cross-builder:latest
103+ run : scripts/build-linux.sh all
104+
105+ - name : Upload artifacts
106+ uses : actions/upload-artifact@v4
107+ with :
108+ name : linux-all
109+ path : artifacts/linux_*
110+
79111 macos :
80112 name : macOS (${{ matrix.arch }})
81113 runs-on : macos-latest
Original file line number Diff line number Diff line change 22set -x
33set -e
44SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
5- cd $SCRIPT_DIR
5+ cd " $SCRIPT_DIR "
66cd ..
77
8- IMAGE=clang-builder:latest
8+ # Allow overriding the build container image:
9+ # SKIA_BUILD_IMAGE=myrepo/custom-image:tag ./scripts/build-linux.sh x64
10+ IMAGE=" ${CLANG_BUILDER_IMAGE:- clang-cross-builder} "
11+
912docker run --rm -it \
10- -u $( id -u) : $( id -g) \
13+ -u " $( id -u) " : " $( id -g) " \
1114 -v " $( pwd) " :" $( pwd) " \
1215 -w " $( pwd) " \
1316 " $IMAGE " \
You can’t perform that action at this time.
0 commit comments