Commit graph

385 commits

Author SHA1 Message Date
William S Fulton
7f42e2b3ca Cosmetic updates in mkwindows.sh 2022-01-22 16:36:11 +00:00
William S Fulton
f8e4a5cc25 Few more PCRE to PCRE2 changes 2022-01-21 18:35:20 +00:00
Julien Schueller
15515f390c PCRE2
Closes #2120
2022-01-21 07:46:08 +01:00
Vadim Zeitlin
7610997209 Stop using Travis CI which doesn't work any longer
Unfortunately Travis CI can't be used for building open source projects
any longer in practice, as extra credits must be manually requested
every time from Travis support, which is just infeasible, as this would
need to be done every couple of days if not more often, and support
reply time is anything from a couple of days to more than a month.

So stop even trying to use it, as it doesn't work anyhow, and switch to
using GitHub Actions only.

Closes #2067
2022-01-10 20:31:28 +00:00
William S Fulton
0a400f5230 Building distribution fixes and pcre version display
[skip-ci]
2022-01-08 19:23:02 +00:00
Olly Betts
48eba82ac8 Remove obsolete code to set SWIG_V8_VERSION
We've dropped support for the old V8 versions which lacked version
macros, and SWIG_V8_VERSION now gets automatically defined by
Lib/javascript/v8/javascriptruntime.swg which will #undef it first if
it's already defined.
2021-12-29 19:16:36 +13:00
William S Fulton
5ada46bcce Whitespace consistency fix in CI-linux-install.sh 2021-12-05 22:26:25 +00:00
William S Fulton
3947df87a2 GHA: Test Octave 6.4 2021-12-05 22:24:51 +00:00
Olly Betts
7c97bd5ab3 [js] Remove code to handle v8 < 5.0
We require at least node v6 which means v8 5.0, so code to handle
older v8 is no longer useful.
2021-12-02 14:04:25 +13:00
Vadim Zeitlin
6a56426f8f Use JSC version available in Ubuntu 20.04 in the CI builds
Use the newer OS and JavaScript Core library versions for the CI build,
we don't have to remain with the old version here, as the newer one
works too.
2021-11-27 13:51:34 +00:00
Dimitris Apostolou
f586d920f7
Fix typos 2021-11-17 07:07:02 +02:00
William S Fulton
9f5ad6debd Scilab JAVA_HOME environment fix
This might be needed on Github Actions as well as Travis??
2021-11-16 19:48:22 +00:00
William S Fulton
b69b5888a8 GHA: Fix testing of php versions
The ubuntu-20.04 machine has php 7.4 and 8.0 installed.
configure.ac always looks for newer versions over older versions of php.
To prevent always testing 8.0, remove all versions and just install the
required version.
2021-11-11 20:17:54 +00:00
Vadim Zeitlin
7ddd9da130 Update the apt sources before trying to install anything
We need to refresh the information about the available packages before
trying to install them.
2021-11-02 19:57:01 +01:00
William S Fulton
87c50d811d Fix installation of Go from gimme
GHA does not have gimme pre-installed
2021-10-22 14:57:58 +01:00
William S Fulton
090b884481 Use source instead of . 2021-10-22 14:49:56 +01:00
William S Fulton
6c4125db0c GHA: apt-get update for Octave
To fix:
Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dev_21.0.3-0ubuntu0.3~20.04.2_amd64.deb  404  Not Found
2021-10-18 08:48:05 +01:00
William S Fulton
d0b6cfeca4 Factor out common environment setup GHA steps 2021-10-15 08:14:28 +01:00
Vadim Zeitlin
11c8760639 Install rvm in CI setup script if it's not available
It is not available out of the box in GitHub environment, unlike under
Travis CI, so install it ourselves.

Note that we do it manually because installing the rael-gc/rvm PPA
doesn't seem to work with weird failures in GitHub Actions environment.

We also can't use gpg2 --recv-keys in this environment as it doesn't
work, apparently due to a firewall.
2021-10-01 03:20:13 +02:00
Kris Thielemans
333e2daa13 [CI] change python install 2021-08-02 09:44:21 +01:00
Kris Thielemans
901f399f8c [CI] generalise travis-linux-install.sh
- move content to CI-linux-install.sh which is independent of Travis
- create equivalent for Github Actions (GHA)
2021-08-01 22:28:00 +01:00
Olly Betts
11bb422bd3 [Pike] Remove code for Pike
We dropped support for it in SWIG 4.0.0 and nobody has stepped forward
to revive it in over 2 years.

See #2009.
2021-05-16 08:42:39 +12:00
William S Fulton
0e9f89f900 Test node v16 2021-04-27 21:11:51 +01:00
William S Fulton
2b3522fc96 Javascript node install on Travis
node-gyp 8 is now installed by default, but doesn't work with older Javascript versions
2021-04-26 22:37:07 +01:00
William S Fulton
7dc042b756 Merge branch '1-pip-swig'
Python deployment scripts tidy up

* 1-pip-swig:
  Create utils.py
  Update mkrelease.py
  Update mkdist.py
  removed destructuring operator for backward compatibililty
  cleanup
  changed os system calls to subprocess calls
  cmd exec using subprocess rather than system calls
2021-03-26 23:43:55 +00:00
Jamie Slome
0fc44beac5
Create utils.py 2021-03-25 06:59:01 +00:00
Jamie Slome
8852a1b6d1
Update mkrelease.py 2021-03-25 06:58:11 +00:00
Jamie Slome
a05fc79310
Update mkdist.py 2021-03-25 06:57:33 +00:00
William S Fulton
82fb0540ca Modernise C++11 compiler support detection in autotools
Replace AX_CXX_COMPILE_STDCXX_11 with AX_CXX_COMPILE_STDCXX
from autoconf archive.
2021-03-20 00:53:13 +00:00
William S Fulton
67cfaf5a80 Remove -ansi from default compilation flags
Closes #1610
2021-03-20 00:53:12 +00:00
William S Fulton
2504354489 Add ruby 3.0 testing
testflags tweak for C standard > c90

Only add -Wdeclaration-after-statement for > c90 as c99 allows
declarations after a statement.
2021-03-17 22:55:35 +00:00
William S Fulton
34acf2cea6 Travis: update ruby rvm installation for ruby-3.0 2021-03-17 22:55:35 +00:00
William S Fulton
5329fdf7a1 Merge branch 'cmake-simple'
* cmake-simple:
  CMake test, run -swiglib
  Misc fixes
  Enable cmake build in CI
  Initial CMake configuration.
2021-03-01 23:44:01 +00:00
Andy Polyakov
1abb726d69 configure.ac: pick up javascriptcoregtk-4.0,3.0 if available.
Ubuntu 20 doesn't have libwebkitgtk-dev/libjavascriptcoregtk-1.0-dev,
but it has 4.0. Ubuntu 18 provides 3.0 as option.
2021-03-01 15:51:12 +01:00
Michel Zou
3d049f6b2a Misc fixes 2021-02-26 17:07:59 +01:00
Oliver Buchtala
2981eda00d Initial CMake configuration.
Needs to be tested under OSX and Windows.
2021-02-25 10:50:41 +01:00
William S Fulton
d344698934 Travis osx: install tcl 2021-02-20 14:49:52 +00:00
William S Fulton
38530af028 brew-install now handles more than one argument 2021-02-20 14:49:52 +00:00
William S Fulton
ad3f3b6ed5 Travis osx: perl needs installing now 2021-02-20 14:47:03 +00:00
William S Fulton
33c547d079 Travis osx - guile is now pre-installed 2021-02-20 14:47:03 +00:00
William S Fulton
3716e7348e Travis: brew list versions 2021-02-20 14:46:48 +00:00
Mr. Krabbs
ca567a9557 removed destructuring operator for backward compatibililty 2020-09-16 07:29:37 -07:00
Mr. Krabbs
08478798f1 cleanup 2020-09-14 15:18:11 -07:00
Mr. Krabbs
2a4b4ea6e6 changed os system calls to subprocess calls 2020-09-14 14:44:48 -07:00
d3v53c
3bfbab1dae cmd exec using subprocess rather than system calls 2020-09-14 04:28:19 -07:00
William S Fulton
d967e4c8b8 Use conventional 'v' prefix for release tagging
See semantic versioning:
  https://semver.org/spec/v2.0.0.html

Closes #1825
2020-06-23 19:18:58 +01:00
William S Fulton
ba0154d90a Fix node 6 and 8 testing on Travis
Later versions of node-gyp (7.0.0) being installed by npm don't seem
to work with node 6 and 8.
2020-06-06 10:29:41 +01:00
William S Fulton
430a44e075 Merge branch 'ruby-bigendian'
* ruby-bigendian:
  Travis ruby s390x (big endian) architecture testing
  Install libpcre3-dev for Linux builds
  Don't fail the build if CPU model or memory can't be detected
  Switch one of Travis CI Ruby builds to use s390x arch
2020-06-02 23:27:05 +01:00
Karl Wette
df8bb1feeb Tools/travis-osx-install.sh: disable 'brew cleanup' to save Travis job run time 2020-05-31 06:43:15 +10:00
Karl Wette
d8d0466e8d Tools/travis-osx-install.sh: use Tools/brew-install to install Octave 2020-05-31 06:43:15 +10:00