@@ -42,43 +42,43 @@ jobs:
42
42
cd build;
43
43
ant clean;
44
44
ant test
45
- linux :
46
- runs-on : ubuntu-latest
47
- name : Build Linux
48
- needs : [test]
49
- steps :
50
- - name : Checkout
51
- uses : actions/checkout@v3
52
- - name : Update apt
53
- run : yes | sudo apt-get update
54
- - name : Install rsync
55
- run : yes | sudo apt-get install rsync
56
- - name : Install wget
57
- run : yes | sudo apt-get install wget
58
- - name : Install ant
59
- run : >
60
- cd /tmp;
61
- wget https://dlcdn.apache.org//ant/binaries/apache-ant-1.10.14-bin.zip;
62
- unzip apache-ant-1.10.14-bin.zip
63
- - name : Install java
64
- run : >
65
- cd /tmp;
66
- wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.5%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.5_8.tar.gz;
67
- tar -xvf OpenJDK17U-jdk_x64_linux_hotspot_17.0.5_8.tar.gz;
68
- - name : Prepare env
69
- run : >
70
- cd /tmp;
71
- echo 'export ANT_HOME="/tmp/apache-ant-1.10.14"' >> .bash_profile;
72
- echo 'export PATH="$PATH:/tmp/apache-ant-1.10.14/bin"' >> .bash_profile;
73
- echo 'export JAVA_HOME="/tmp/jdk-17.0.5+8"' >> .bash_profile
74
- - name : Build linux
75
- run : >
76
- source /tmp/.bash_profile;
77
- cd build;
78
- ant clean;
79
- ant build
80
- - name : Add linux artifact
81
- uses : actions/upload-artifact@v3
82
- with :
83
- name : linux
84
- path : ./build/linux/work
45
+ linux :
46
+ runs-on : ubuntu-latest
47
+ name : Build Linux
48
+ needs : [test]
49
+ steps :
50
+ - name : Checkout
51
+ uses : actions/checkout@v3
52
+ - name : Update apt
53
+ run : yes | sudo apt-get update
54
+ - name : Install rsync
55
+ run : yes | sudo apt-get install rsync
56
+ - name : Install wget
57
+ run : yes | sudo apt-get install wget
58
+ - name : Install ant
59
+ run : >
60
+ cd /tmp;
61
+ wget https://dlcdn.apache.org//ant/binaries/apache-ant-1.10.14-bin.zip;
62
+ unzip apache-ant-1.10.14-bin.zip
63
+ - name : Install java
64
+ run : >
65
+ cd /tmp;
66
+ wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.5%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.5_8.tar.gz;
67
+ tar -xvf OpenJDK17U-jdk_x64_linux_hotspot_17.0.5_8.tar.gz;
68
+ - name : Prepare env
69
+ run : >
70
+ cd /tmp;
71
+ echo 'export ANT_HOME="/tmp/apache-ant-1.10.14"' >> .bash_profile;
72
+ echo 'export PATH="$PATH:/tmp/apache-ant-1.10.14/bin"' >> .bash_profile;
73
+ echo 'export JAVA_HOME="/tmp/jdk-17.0.5+8"' >> .bash_profile
74
+ - name : Build linux
75
+ run : >
76
+ source /tmp/.bash_profile;
77
+ cd build;
78
+ ant clean;
79
+ ant build
80
+ - name : Add linux artifact
81
+ uses : actions/upload-artifact@v3
82
+ with :
83
+ name : linux
84
+ path : ./build/linux/work
0 commit comments