File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -130,11 +130,20 @@ jobs:
130
130
env :
131
131
CMAKE_INSTALL_LIBDIR : lib/${{matrix.lib_platform}}/${{matrix.lib_arch}}
132
132
- name : Cache Kotlin/Native dependencies
133
+ id : cache-dependencies
133
134
uses : actions/cache@v4
134
135
if : matrix.platform != 'JVM' && matrix.platform != 'Android'
135
136
with :
136
137
path : ${{runner.tool_cache}}/konan/dependencies
137
138
key : konan-${{runner.os}}-dependencies
139
+ - name : Download Kotlin/Native dependencies
140
+ if : matrix.platform == 'macOS/iOS' && steps.cache-dependencies.outputs.cache-hit != 'true'
141
+ run : |-
142
+ mkdir -p "$RUNNER_TOOL_CACHE/konan/dependencies"
143
+ curl -LSs https://download-cdn.jetbrains.com/kotlin/native/$DEP.tar.gz | \
144
+ tar -xzf - -C "$RUNNER_TOOL_CACHE/konan/dependencies"
145
+ env :
146
+ DEP : apple-llvm-20200714-macos-aarch64-essentials
138
147
- name : Run tests
139
148
run : ./gradlew --no-daemon ${{matrix.targets}}
140
149
env :
You can’t perform that action at this time.
0 commit comments