Skip to content

Commit

Permalink
Add github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Sep 5, 2022
1 parent b688b05 commit 73a45f4
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Java Ant CI

on: [push]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Ant
run: ant -noinput -buildfile build.xml dist
- name: Run tests
timeout-minutes: 10
run: ant -noinput -buildfile build.xml test
23 changes: 23 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Java Maven CI

on: [push]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn compile
- name: Run tests with Maven
timeout-minutes: 10
run: mvn test
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<attribute name="Class-Path" value="${manifest_cp}"/>
<attribute name="Implementation-Vendor" value="io.ipfs"/>
<attribute name="Implementation-Title" value="multiaddr"/>
<attribute name="Implementation-Version" value="1.4.0"/>
<attribute name="Implementation-Version" value="1.4.2"/>
</manifest>
</jar>
</target>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.github.multiformats</groupId>
<artifactId>java-multiaddr</artifactId>
<version>v1.4.1</version>
<version>v1.4.2</version>

<name>multiaddr</name>
<url>https://github.com/multiformats/java-multiaddr</url>
Expand Down

0 comments on commit 73a45f4

Please sign in to comment.