mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
build everything on github actions
Since travis starts to be unreliable with its credit system. Moreover: - reduce jdk versions to 9, 11 and 14 - exchange badge in README
This commit is contained in:
28
.github/workflows/bbc-ubuntu.yml
vendored
Normal file
28
.github/workflows/bbc-ubuntu.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: BBC Ubuntu
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
env:
|
||||
JAVA_VERSION: '11'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK ${{ matrix.java_version }}"
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{env.JAVA_VERSION}}
|
||||
|
||||
- name: bbcTests
|
||||
run: ./gradlew bbcTests
|
||||
|
||||
- name: Upload windows build code coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: bbc
|
||||
env_vars: JAVA_VERSION
|
||||
# too many timeout errors, let's not fail at the moment
|
||||
#fail_ci_if_error: true
|
||||
28
.github/workflows/bc-ubuntu.yml
vendored
Normal file
28
.github/workflows/bc-ubuntu.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: BC Ubuntu
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
env:
|
||||
JAVA_VERSION: '11'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK ${{ matrix.java_version }}"
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{env.JAVA_VERSION}}
|
||||
|
||||
- name: bcTests
|
||||
run: ./gradlew bcTests
|
||||
|
||||
- name: Upload windows build code coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: bc
|
||||
env_vars: JAVA_VERSION
|
||||
# too many timeout errors, let's not fail at the moment
|
||||
#fail_ci_if_error: true
|
||||
44
.github/workflows/build-ubuntu.yml
vendored
Normal file
44
.github/workflows/build-ubuntu.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
name: Ubuntu
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
java_version: [9, 11, 14]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK ${{ matrix.java_version }}"
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{ matrix.java_version }}
|
||||
|
||||
- name: build
|
||||
run: ./gradlew build
|
||||
|
||||
- name: composite build atrium-scala2
|
||||
run: ./gradlew build
|
||||
working-directory: misc/tools/atrium-scala2-test
|
||||
|
||||
- name: Upload windows build code coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
env:
|
||||
JAVA_VERSION: ${{ matrix.java_version }}
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: current
|
||||
env_vars: JAVA_VERSION
|
||||
# too many timeout errors, let's not fail at the moment
|
||||
#fail_ci_if_error: true
|
||||
|
||||
- name: composite build atrium-samples-test
|
||||
run: ./gradlew build
|
||||
working-directory: misc/tools/atrium-samples-test
|
||||
|
||||
- name: composite build atrium-js-sample-test
|
||||
run: ./gradlew build
|
||||
working-directory: misc/tools/atrium-js-sample-test
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
java_version: [9, 10, 11, 12, 13, 14]
|
||||
java_version: [9, 11, 14]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -19,8 +19,8 @@ jobs:
|
||||
with:
|
||||
java-version: ${{ matrix.java_version }}
|
||||
|
||||
- name: buildNonDeprecatedJvm
|
||||
run: ./gradlew buildNonDeprecatedJvm
|
||||
- name: build
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Cache android jar
|
||||
id: android-cache
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
java_version: [9, 10, 11, 12, 13, 14]
|
||||
java_version: [11]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK ${{ matrix.java_version }}"
|
||||
|
||||
2
.github/workflows/samples-windows.yml
vendored
2
.github/workflows/samples-windows.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
java_version: [9, 10, 11, 12, 13, 14]
|
||||
java_version: [9, 11, 14]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user