Router: Bump build time. CI: test Debian patches in CI. test Maven builds in CI.

This commit is contained in:
eyedeekay
2024-05-02 01:12:47 -04:00
parent e7d5676233
commit 67e57f0391
2 changed files with 10 additions and 4 deletions

View File

@ -54,7 +54,11 @@ jobs:
rm -f override.properties
echo "build.built-by=GitHub Actions" >> override.properties
echo "noExe=true" >> override.properties
- name: build with Ant
- name: test Debian build with Ant
run: ant distclean
- name: build mavenCentral deps with Ant
run: ant mavenCentral.deps
- name: build javadoc with Ant
run: ant distclean javadoc updater
- name: zip javadoc
run: cp i2pupdate.zip build/javadoc/i2pupdate.zip && zip -r javadoc.zip build/javadoc
@ -91,7 +95,9 @@ jobs:
echo "build.built-by=GitHub Actions" >> override.properties
echo "noExe=true" >> override.properties
echo "javac.compilerargs=-bootclasspath $HOME/openjdk-7/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:$HOME/openjdk-7/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar -Xlint:all" >> override.properties
- name: build with Ant
- name: build mavenCentral deps with Ant
run: ant mavenCentral.deps
- name: build Maven dev build with Ant
run: ./installer/resources/maven-dev-release.sh 1
- name: Upload servlet-i2p.jar
uses: actions/upload-artifact@v4

View File

@ -34,10 +34,10 @@ public class BuildTime {
private static final long _latestTime;
private static final long YEARS_25 = 25L*365*24*60*60*1000;
/** update this periodically */
private static final String EARLIEST = "2024-03-30 12:00:00 UTC";
private static final String EARLIEST = "2024-05-02 12:00:00 UTC";
// fallback if parse fails ticket #1976
// date -d 202x-xx-xx +%s
private static final long EARLIEST_LONG = 1711756800 * 1000L;
private static final long EARLIEST_LONG = 1714608000 * 1000L;
static {
// this is the standard format of build.timestamp as set in the top-level build.xml