File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -51,27 +51,32 @@ jobs:
5151 run : |
5252 cd dart-sdk/sdk
5353 xargs -n 1 -- sh -xc 'curl -fsSL "https://github.com/dart-lang/sdk/commit/$1.diff" | git apply -' -- <<'EOF'
54- 99c68b013bab3c574abe300d710d5bdf8f111c10
54+ 99c68b013bab3c574abe300d710d5bdf8f111c10
5555 EOF
5656
5757 - name : Patch Dart SDK 3.0
5858 run : |
5959 cd dart-sdk/sdk
60- if ! grep -q alpine-linux-riscv64-sysroot build/config/sysroot.gni; then
61- xargs -n 1 -- sh -xc 'curl -fsSLo "$1" "https://github.com/dart-lang/sdk/raw/3.1.0-205.0.dev/$1"' -- <<'EOF'
60+ if grep -q alpine-linux-riscv64-sysroot build/config/sysroot.gni; then
61+ exit 0
62+ fi
63+
64+ xargs -n 1 -- sh -xc 'curl -fsSLo "$1" "https://github.com/dart-lang/sdk/raw/3.1.0-205.0.dev/$1"' -- <<'EOF'
6265 build/config/sysroot.gni
6366 build/linux/alpine_sysroot_scripts/install-sysroot.sh
6467 EOF
65- chmod a+x build/linux/alpine_sysroot_scripts/install-sysroot.sh
66- fi
68+ chmod a+x build/linux/alpine_sysroot_scripts/install-sysroot.sh
6769
6870 - name : Patch perfetto
6971 run : |
7072 cd dart-sdk/sdk
71- sed -i -e '/#define INCLUDE_PERFETTO_EXT_BASE_UUID_H_/a\
72- \
73- #include <stdint.h>' -- third_party/perfetto/include/perfetto/ext/base/uuid.h
74- cat third_party/perfetto/include/perfetto/ext/base/uuid.h
73+ if grep -q cstdint third_party/perfetto/include/perfetto/ext/base/uuid.h; then
74+ exit 0
75+ fi
76+
77+ xargs -n 1 -- sh -xc 'curl -fsSL "https://github.com/google/perfetto/commit/$1.diff" | git apply --directory third_party/perfetto -' -- <<'EOF'
78+ 07b15988f07b9d2c4019c61e7ec5b372a8daa81a
79+ EOF
7580
7681 - name : Get Checked-in Dart SDK Version
7782 id : version
You can’t perform that action at this time.
0 commit comments