Make gradle GA run cross-platform #160
91
.github/workflows/gradle.yml
vendored
@ -3,15 +3,96 @@ name: Gradle build
|
||||
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
runs-on: ubuntu-latest
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
build-ubuntu:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
runs-on: ubuntu-20.04
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- uses: actions/checkout@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 11
|
||||
- name: Install Chrome
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
run: |
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
sudo apt install -y libappindicator1 fonts-liberation
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
sudo dpkg -i google-chrome*.deb
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Cache gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
uses: actions/cache@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
path: |
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
**/.gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
**/build
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
key: gradle_6_6_1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
restore-keys: gradle_6_6_1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Cache konan
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
uses: actions/cache@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
path: |
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
~/.konan/dependencies
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
~/.konan/kotlin-native-prebuilt-linux-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
key: ${{ runner.os }}-konan-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
restore-keys: ${{ runner.os }}-konan-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
run: ./gradlew -Dorg.gradle.daemon=false --build-cache build
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
build-osx:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
runs-on: macos-latest
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
steps:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- uses: actions/checkout@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Set up JDK 11
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
uses: actions/setup-java@v1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
java-version: 11
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Cache gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
uses: actions/cache@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
path: |
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
**/.gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
**/build
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
key: gradle_6_6_1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
restore-keys: gradle_6_6_1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Cache konan
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
uses: actions/cache@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
path: |
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
~/.konan/dependencies
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
~/.konan/kotlin-native-prebuilt-macos-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
key: ${{ runner.os }}-konan-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
restore-keys: ${{ runner.os }}-konan-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Build with Gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
run: sudo ./gradlew -Dorg.gradle.daemon=false --build-cache build
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
build-windows:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
runs-on: windows-latest
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
steps:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- uses: actions/checkout@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Set up JDK 11
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
Platform builds will take a lot of time. I suggest to run only one platform automatically and others on-demand. We can do that for releases/platform sensitive things. Platform builds will take a lot of time. I suggest to run only one platform automatically and others on-demand. We can do that for releases/platform sensitive things.
The build time is incresead only by 5 minutes because Windows runners are pretty slow. The build time is incresead only by 5 minutes because Windows runners are pretty slow.
|
||||
uses: actions/setup-java@v1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
java-version: 11
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Add msys to path
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
run: SETX PATH "%PATH%;C:\msys64\mingw64\bin"
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Cache gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
uses: actions/cache@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
path: |
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
**/.gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
**/build
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
key: gradle_6_6_1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
restore-keys: gradle_6_6_1
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Cache konan
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
uses: actions/cache@v2
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
with:
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
path: |
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
~/.konan/dependencies
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
~/.konan/kotlin-native-prebuilt-mingw-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
key: ${{ runner.os }}-konan-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
restore-keys: ${{ runner.os }}-konan-1.4.20
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
- name: Build with Gradle
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
run: ./gradlew --build-cache build
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
|
||||
|
||||
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters? It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version The same as for gradle version
The same as for gradle version The same as for gradle version
|
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
It will break on gradle wrapper change. Is it possible to move gradle version to top level parameters?
The same as for gradle version
The same as for gradle version