mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 00:05:37 +03:00
Extend CI Gradle caching and performance parameters
A lot of default Gradle parameters are unoptimal for the best performance, this enables the configuration and build cache alongside parallel building.
This commit is contained in:
parent
4a6978a3bb
commit
40a7433e97
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Restore Gradle Cache
|
- name: Restore Gradle Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /root/.gradle/
|
path: ~/.gradle/
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }}
|
||||||
|
|
||||||
- name: Restore CXX Cache
|
- name: Restore CXX Cache
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
||||||
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
||||||
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||||
run: ./gradlew --stacktrace assemble
|
run: ./gradlew --stacktrace --configuration-cache --build-cache --parallel --configure-on-demand assemble
|
||||||
|
|
||||||
- name: Rename APKs
|
- name: Rename APKs
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user