on main help sign in
Skip native dependency build in the compile check
3e8b2eaClaude
.github/workflows/build.yml+3−1
@@ -42,7 +42,9 @@ jobs:
42 - name: Compile
42 - name: Compile
43 run: |
43 run: |
44 echo "org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=1g" >> gradle.properties
44 echo "org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=1g" >> gradle.properties
45+ # buildNativeDeps compiles ffmpeg, libvpx, dav1d and friends; the Java and Kotlin
46+ # compile does not need them, so skip it here (the apk job builds them).
45− ./gradlew --no-daemon --stacktrace \
47+ ./gradlew --no-daemon --stacktrace -x :TMessagesProj:buildNativeDeps \
46 :TMessagesProj:compileReleaseJavaWithJavac \
48 :TMessagesProj:compileReleaseJavaWithJavac \
47 :TMessagesProj_App:compileAfatReleaseJavaWithJavac
49 :TMessagesProj_App:compileAfatReleaseJavaWithJavac
48 - name: Run MultiGram tool checks
50 - name: Run MultiGram tool checks