diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml new file mode 100644 index 0000000000000000000000000000000000000000..1feb0c5b50739917e03946ed14e8cc2b8bd966c8 --- /dev/null +++ b/.github/workflows/ant.yml @@ -0,0 +1,34 @@ +# Mostly copied from https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant +# zlatinb + +name: Java CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: GetText + run: sudo apt install gettext + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'temurin' + - name : Generate override.properties + run: | + rm -f override.properties + echo "build.built-by=GitHub Actions" >> override.properties + echo "noExe=true" >> override.properties + - name: build with Ant + run: ant distclean pkg + - name: Upload installer.jar + uses: actions/upload-artifact@v2 + with: + name: I2P-install.jar-${{ github.sha }} + path: install.jar + + diff --git a/README.md b/README.md index fb3a9d55f805bf8a6fd8b6cdbefce20a80317a24..058864dc5dbb51b3188356b28f3f4ccf33ec26a4 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,9 @@ your `~/.gradle/gradle.properties`: systemProp.socksProxyHost=localhost systemProp.socksProxyPort=9150 +### Development builds +Automatic CI builds are available at the [continuous integration](https://github.com/i2p/i2p.i2p/actions/workflows/ant.yml) page. + ### Docker For more information how to run I2P in Docker, see [Docker.md](Docker.md) ## Contact info