Skip to content

Commit 039186d

Browse files
CI: first build, then assemble
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent a6717a2 commit 039186d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎.github/workflows/assembleFlavors.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,23 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18+
build:
19+
runs-on: ubuntu-latest-max
20+
steps:
21+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22+
- name: set up JDK 21
23+
uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0
24+
with:
25+
distribution: "temurin"
26+
java-version: 21
27+
- uses: gradle/actions/wrapper-validation@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6.3.0
28+
- name: compile
29+
run: |
30+
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" >> gradle.properties
31+
echo "org.gradle.caching=true" >> gradle.properties
32+
echo "org.gradle.parallel=true" >> gradle.properties
33+
echo "org.gradle.configureondemand=true" >> gradle.properties
34+
./gradlew app:compileGenericDebugSources
1835
flavor:
1936
runs-on: ubuntu-latest
2037
strategy:

0 commit comments

Comments
 (0)