You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mg...@apache.org on 2020/02/04 11:31:50 UTC
[tomcat-connectors] branch master updated: Use Travis CI for
building Tomcat Connectors on ARM64
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
The following commit(s) were added to refs/heads/master by this push:
new 30b8db1 Use Travis CI for building Tomcat Connectors on ARM64
new e03b6a0 Merge pull request #4 from martin-g/feature/build-tomcat-connectors-on-arm64
30b8db1 is described below
commit 30b8db127a9fe2c3df1f8a2710633f31238e1595
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Mon Feb 3 15:20:10 2020 +0200
Use Travis CI for building Tomcat Connectors on ARM64
---
.travis.yml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..fc15910
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,72 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dist: bionic
+compiler: gcc
+arch: arm64
+
+addons:
+ apt:
+ packages:
+ - build-essential
+ - automake
+ - autoconf
+ - tar
+ - libssl-dev
+ - subversion
+ - git
+ - libtool-bin
+
+before_script:
+ - rm -rf $HOME/tmp
+ - mkdir $HOME/tmp
+ - export CURR_PWD=`pwd`
+ - echo "Going to build APR"
+ - svn co -q https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x/ $HOME/tmp/apr
+ - cd $HOME/tmp/apr
+ - ./buildconf
+ - ./configure --prefix=$HOME/tmp/apr-build
+ - make
+ - make install
+ - echo "Going to build APR Util"
+ - svn co -q https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x $HOME/tmp/apr-util
+ - cd $HOME/tmp/apr-util
+ - ./buildconf --with-apr=$HOME/tmp/apr
+ - ./configure --with-apr=$HOME/tmp/apr-build/bin/apr-1-config --prefix=$HOME/tmp/apr-util-build
+ - make
+ - make install
+ - echo "Going to build HTTPD"
+ - svn co -q http://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x $HOME/tmp/httpd
+ - cd $HOME/tmp/httpd
+ - ./buildconf --with-apr=$HOME/tmp/apr --with-apr-util=$HOME/tmp/apr-util
+ - ./configure --prefix=$HOME/tmp/httpd-build --with-apr=$HOME/tmp/apr-build/bin/apr-1-config --with-apr-util=$HOME/tmp/apr-util-build/bin/apu-1-config
+ - make
+ - make install
+
+script:
+ - echo "Going to build Tomcat Connectors"
+ - cd $CURR_PWD
+ - cd native
+ - ./buildconf.sh
+ - ./configure --with-apxs=$HOME/tmp/httpd-build/bin/apxs --prefix=$HOME/tmp/tc-connectors-build
+ - make
+ - make install
+
+after_failure:
+ - ls -la $HOME/tmp
+
+notifications:
+ email:
+ - dev@tomcat.apache.org
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org