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:
51
51
run : |
52
52
cd dart-sdk/sdk
53
53
xargs -n 1 -- sh -xc 'curl -fsSL "https://github.com/dart-lang/sdk/commit/$1.diff" | git apply -' -- <<'EOF'
54
- 99c68b013bab3c574abe300d710d5bdf8f111c10
54
+ 99c68b013bab3c574abe300d710d5bdf8f111c10
55
55
EOF
56
56
57
57
- name : Patch Dart SDK 3.0
58
58
run : |
59
59
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'
62
65
build/config/sysroot.gni
63
66
build/linux/alpine_sysroot_scripts/install-sysroot.sh
64
67
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
67
69
68
70
- name : Patch perfetto
69
71
run : |
70
72
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
75
80
76
81
- name : Get Checked-in Dart SDK Version
77
82
id : version
You can’t perform that action at this time.
0 commit comments