File tree Expand file tree Collapse file tree 5 files changed +95
-3
lines changed Expand file tree Collapse file tree 5 files changed +95
-3
lines changed Original file line number Diff line number Diff line change 1+ name : OpenJDK 17
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - ' archives.sh'
8+ - ' common.sh'
9+ - ' jdk-17.sh'
10+ - ' patches-17/**'
11+ pull_request :
12+
13+ jobs :
14+ build-on-solaris :
15+ name : Build & Archive on Solaris
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Build project inside Solaris VM
20+ 21+ with :
22+ release : " 11.4-gcc"
23+ usesh : true
24+ sync : nfs
25+ copyback : false
26+ prepare : |
27+ uname -a
28+ run : |
29+ REPO=`pwd`
30+ # avoid problems when building on NFS from Linux
31+ git clone $REPO /var/tmp/openjdk
32+ cd /var/tmp/openjdk
33+ # download bootstrap JDK version
34+ curl -o jdk-16-bootstrap.tar.xz --progress-bar -L https://github.com/psumbera/solaris-openjdk/releases/download/openjdk16-bootstrap/openjdk-16.0.2-bootstrap_SunOS-i386_bin.tar.xz
35+ gtar xf jdk-16-bootstrap.tar.xz
36+ BOOT_JDK=$(pwd)/jdk-16-bootstrap bash jdk-17.sh
37+ ./archives.sh
38+ # copy archive back to NFS shared area
39+ mkdir $REPO/archives
40+ mv archives/* $REPO/archives/
41+
42+ - name : Upload Solaris build artifact
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : openjdk-17-latest_SunOS-i386_bin
46+ path : archives/*
Original file line number Diff line number Diff line change 1+ name : OpenJDK 21
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - ' archives.sh'
8+ - ' common.sh'
9+ - ' jdk-21.sh'
10+ - ' patches-21/**'
11+ pull_request :
12+
13+ jobs :
14+ build-on-solaris :
15+ name : Build & Archive on Solaris
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Build project inside Solaris VM
20+ 21+ with :
22+ release : " 11.4-gcc"
23+ usesh : true
24+ sync : nfs
25+ copyback : false
26+ prepare : |
27+ uname -a
28+ run : |
29+ REPO=`pwd`
30+ # avoid problems when building on NFS from Linux
31+ git clone $REPO /var/tmp/openjdk
32+ cd /var/tmp/openjdk
33+ # download bootstrap JDK version
34+ curl -o jdk-20-bootstrap.tar.xz --progress-bar -L https://github.com/psumbera/solaris-openjdk/releases/download/openjdk20-i386-bootstrap/openjdk-20-bootstrap_SunOS-i386_bin.tar.xz
35+ gtar xf jdk-20-bootstrap.tar.xz
36+ BOOT_JDK=$(pwd)/jdk-20-bootstrap bash jdk-21.sh
37+ ./archives.sh
38+ # copy archive back to NFS shared area
39+ mkdir $REPO/archives
40+ mv archives/* $REPO/archives/
41+
42+ - name : Upload Solaris build artifact
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : openjdk-21-latest_SunOS-i386_bin
46+ path : archives/*
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ git clone https://github.com/openjdk/jdk${VERSION}u $tmpdir/jdk${VERSION}u
100100# Building
101101
102102echo " Building OpenJDK ${VERSION} ($( pwd) /build.log)..."
103- JDK_GITHUB_REPO=$( pwd) /$tmpdir BOOT_JDK=$( pwd) /jdk-${BOOTSTRAP_VERSION} -bootstrap bash jdk-${VERSION} .sh 2>&1 | tee build.log | pv -l -s $total_lines -p -t -e > /dev/null
103+ LOG=debug JDK_GITHUB_REPO=$( pwd) /$tmpdir BOOT_JDK=$( pwd) /jdk-${BOOTSTRAP_VERSION} -bootstrap bash jdk-${VERSION} .sh 2>&1 | tee build.log | pv -l -s $total_lines -p -t -e > /dev/null
104104
105105# Create archive
106106
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ git checkout jdk-17.0.11-ga
2525apply_patch_series
2626
2727PATH=" $PATH " bash ./configure ${CONFIGURE_OPTIONS}
28- gmake LOG=debug bundles
28+ gmake LOG=${LOG} bundles
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ git checkout jdk-21.0.8-ga
2626apply_patch_series
2727
2828PATH=" $PATH " bash ./configure ${CONFIGURE_OPTIONS}
29- gmake LOG=debug bundles
29+ gmake LOG=${LOG} bundles
You can’t perform that action at this time.
0 commit comments