Skip to content

Commit 5d0e578

Browse files
committed
build
1 parent a1f6f8a commit 5d0e578

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build Skia Artifacts
22

3+
permissions:
4+
packages: read
5+
36
on:
47
push:
58
branches:
@@ -62,7 +65,7 @@ jobs:
6265
$env:PATH = "${{ github.workspace }}\depot_tools;" + $env:PATH
6366
Set-Location depot_tools
6467
./update_depot_tools.bat
65-
Set-Location skia
68+
Set-Location ../skia
6669
../depot_tools/python-bin/python3.bat tools/git-sync-deps
6770
6871
- name: Build ${{ matrix.arch }}
@@ -79,7 +82,11 @@ jobs:
7982
linux-all:
8083
name: Linux (all)
8184
runs-on: ubuntu-latest
82-
container: ghcr.io/avaloniaui/clang-cross-builder:latest
85+
container:
86+
image: ghcr.io/avaloniaui/clang-cross-builder:latest
87+
credentials:
88+
username: ${{ github.actor }}
89+
password: ${{ secrets.GITHUB_TOKEN }}
8390
steps:
8491
- name: Checkout
8592
uses: actions/checkout@v4

scripts/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def gen_linux(arch, self_contained, args):
153153
"target_cpu": arch,
154154
"skia_use_icu": False,
155155
"skia_use_piex": True,
156+
"skia_use_sfntly": False,
156157
"skia_use_system_expat": False, # consider system (ABI seems to be stable)
157158
"skia_use_system_libjpeg_turbo": False,
158159
"skia_use_system_libpng": False,
@@ -190,7 +191,6 @@ def gen_macos(arch, self_contained, args):
190191
"target_cpu": arch,
191192
"skia_use_icu": False,
192193
"skia_use_piex": True,
193-
"skia_use_sfntly": False,
194194
"skia_use_system_expat": False,
195195
"skia_use_system_libjpeg_turbo": False,
196196
"skia_use_system_libpng": False,

0 commit comments

Comments
 (0)