Skip to content

Commit

Permalink
Router: Bump build time. CI: test Debian patches in CI. test Maven bu…
Browse files Browse the repository at this point in the history
…ilds in CI.
  • Loading branch information
eyedeekay committed May 2, 2024
1 parent e7d5676 commit 67e57f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions core/java/src/net/i2p/time/BuildTime.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67e57f0

Please sign in to comment.