Commit graph

376 commits

Author SHA1 Message Date
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
Vadim Zeitlin
7fd9d94a9b Install libpcre3-dev for Linux builds
This package contains the required PCRE library development files and
may be already installed, as is apparently the case for amd64 systems,
but also may not be, as when using s390x architecture.
2020-05-26 01:23:28 +02:00
William S Fulton
666752d521 Test multiple versions of D on Travis.
2.081 is reportedly broken and 2.086 was tested and fixed in #1594.
2020-01-07 18:59:17 +00:00
William S Fulton
5259082cb1 Test Ruby 2.7 on Travis
Generated code does not yet compile, so set as allow_failure for now
rvm master currently needs to be installed when testing ruby-2.7 on Travis
2019-12-30 23:17:35 +00:00
Karl Wette
e4c38f0f67 Octave: remove use of ppa:kwwette/octaves 2019-10-16 18:17:29 +13:00
Dmitry D. Chernov
c4ad3480bd Tools: Unify string quoting in the Python sources 2019-07-14 11:15:36 +10:00
William S Fulton
959c228381 Test clang 10.0.1 C++17 - xcode 10.2 2019-06-27 07:40:49 +01:00
William S Fulton
9bca8ae27e
Merge pull request #1569 from TekuConcept/bug/js-travisci-v4
Fixes Travis CI Build Errors With Node-v4
2019-06-27 07:30:15 +01:00
Chris Walker
99b35b099a Fixes Travis CI Build Errors With Node-v4 2019-06-26 01:10:38 -06:00
William S Fulton
2cd59b636e Travis Octave testing changes
- Keep testing Octave 4.0 on Xenial, but the Octave headers break the C++11
  tests, so just test C++98.
- Drop Octave 4.2 testing on Trusty.
- Keep Octave 4.4 testing on Trusty - it is the only C++11 Octave testing
  done and is just fast enough to beat the 50 minute limit.
- Add latest Octave version (5.1) testing by using MacOS and brew. It takes
  about 49 minutes to run for C++98 testing.
  Unfortunately it takes longer than the Travis 50 minute limit to test C++11.

I can't find a Xenial or MacOS solution for testing Octave and C++11, so we'll
keep it on Travis for now. Octave is available as a Flatpak's, but Flatpak
doesn't work on Travis as it requires a reboot after installing the flatpak
package.
2019-05-24 19:30:47 +01:00