Skip to content

Commit 6f0dd33

Browse files
committed
CI: Split build for debug / release targets
GitHub is running out of disk space
1 parent 7238508 commit 6f0dd33

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ on:
77

88
jobs:
99
build:
10-
name: "Gradle build"
10+
name: "Gradle build ${{ matrix.target }}"
1111
runs-on: ubuntu-latest
1212
env:
1313
GRADLE_MICROG_VERSION_WITHOUT_GIT: 1
1414

15+
strategy:
16+
matrix:
17+
target: [Debug, Release]
18+
1519
steps:
1620
- name: "Free disk space"
1721
run: |
@@ -55,6 +59,6 @@ jobs:
5559
fi
5660
done
5761
- name: "Execute Gradle assemble"
58-
run: "./gradlew assemble"
59-
- name: "Execute Gradle check"
60-
run: "./gradlew check"
62+
run: "./gradlew assemble${{ matrix.target }}"
63+
- name: "Execute Gradle lint"
64+
run: "./gradlew lint${{ matrix.target }}"

0 commit comments

Comments
 (0)