mirror of
https://github.com/gitblit-org/gitblit.git
synced 2024-09-07 21:32:31 +02:00
ci: Remove Java 7 build
This commit is contained in:
parent
7150f50149
commit
113fce858f
71
.github/workflows/ci-build.yml
vendored
71
.github/workflows/ci-build.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Continous build - build and test on every push
|
||||
name: Continous build on every push
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -7,14 +7,46 @@ on:
|
||||
- gh-pages
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and test
|
||||
runs-on: ${{ matrix.os }}
|
||||
build_linux:
|
||||
name: Linux build and test
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
java-version: [8, 11]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Setup Java ${{ matrix.java-version }}
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{ matrix.java-version }}
|
||||
|
||||
- name: Setup Moxie
|
||||
run: |
|
||||
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
|
||||
tar -xzf moxie+ant-0.9.4.tar.gz
|
||||
moxie-0.9.4/bin/moxie -version
|
||||
|
||||
- name: Report Java version
|
||||
run: |
|
||||
java -version
|
||||
javac -version
|
||||
|
||||
- name: Build with Moxie
|
||||
run: moxie-0.9.4/bin/moxie test
|
||||
|
||||
|
||||
build_windows:
|
||||
name: Windows build and test
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java-version: [8, 11]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
@ -33,32 +65,3 @@ jobs:
|
||||
|
||||
- name: Build with Ant
|
||||
run: ant test
|
||||
|
||||
build_j7:
|
||||
name: Build and test on Java 7
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Setup Java 7
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 7
|
||||
|
||||
- name: Report Java version
|
||||
run: |
|
||||
java -version
|
||||
javac -version
|
||||
|
||||
- name: Setup Moxie
|
||||
run: |
|
||||
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
|
||||
tar -xzf moxie+ant-0.9.4.tar.gz
|
||||
moxie-0.9.4/bin/moxie -version
|
||||
|
||||
- name: Build with Moxie
|
||||
run: moxie-0.9.4/bin/moxie test
|
||||
|
@ -3,6 +3,5 @@ dist: trusty
|
||||
language: java
|
||||
|
||||
jdk:
|
||||
- openjdk7
|
||||
- openjdk8
|
||||
- oraclejdk11
|
||||
|
Loading…
Reference in New Issue
Block a user