Olly Betts
c25df74807
[php7] Use destructor action if present
...
If there's a destructor, use its action instead of free(ptr)
(for C)/delete ptr (for C++).
Fixes #2108
2021-12-02 19:15:34 +13:00
Olly Betts
51f586bc4c
Merge pull request #2111 from swig/remove-obsolete-js-support
...
Remove obsolete js support
2021-12-02 18:09:30 +13:00
Olly Betts
bebb3d4c21
[ci] Remove CI build for unsupported v8 3.14
...
We only support v8 5.0 and later now.
libv8-dev is no longer packaged in newer Ubuntu releases, so it
seems there isn't an easy way to update this to test a supported
v8 version, but really v8 via node is the configuration people will
actually use anyway.
2021-12-02 14:31:28 +13: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
Olly Betts
e30dfeaab9
[js] Update docs re v8 support
...
We require at least node v6 (which means v8 v5.0) since
7ba19e7586 so updated the manual to
reflect this.
2021-12-02 14:01:27 +13:00
William S Fulton
f17b6bda93
Merge branch 'fix_SWIG_V8_VERSION'
...
* fix_SWIG_V8_VERSION:
[javascript][v8] SWIG_V8_VERSION generation method corrected.
2021-12-01 18:22:29 +00:00
William S Fulton
26d693105a
GHA: Test node versions 6,8,10
...
Test the documented minimum version 6 and some later versions
as was done on Travis.
Using ubuntu-18.04 as I couldn't get these versions to work on newer
ubuntu-20.04 (some horrid c++ compilation errors)
2021-12-01 18:21:07 +00:00
William S Fulton
0304bdb82b
GHA: Add testing of node 17
...
Also remove duplicate test of node 14
2021-11-27 13:56:49 +00: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
William S Fulton
a39c2695f2
Merge pull request #2100 from rex4539/typos
...
Fix typos
2021-11-24 18:41:26 +00:00
William S Fulton
3354345255
GHA: switch ocaml testing to ubuntu-18.04
2021-11-17 22:27:00 +00:00
William S Fulton
9f8e9109be
Update CI system wrt experimental languages
2021-11-17 22:18:06 +00:00
William S Fulton
07f18bef36
GHA: Test experimental languages - mzscheme and ocaml
...
These are allowed to fail and they won't fail the
overall build (like they did on Travis).
Implemented via the continue-on-error flag that Github Actions provides.
2021-11-17 21:23:59 +00:00
Dimitris Apostolou
f586d920f7
Fix typos
2021-11-17 07:07:02 +02:00
William S Fulton
ac9f819f6e
Don't run appveyor when modifying Github Actions CI files
2021-11-16 19:48:22 +00:00
William S Fulton
0ec35cf24e
GHA: Test Scilab 6.0 on ubuntu-18.04
...
6.1 on ubuntu-20.04 not yet working
2021-11-16 19:48:22 +00:00
William S Fulton
dbab08ec21
Scilab testing: don't hang on error
2021-11-16 19:48:22 +00: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
2582e3fc75
GHA: Add in Scilab testing
2021-11-15 23:03:02 +00:00
William S Fulton
63733a3b5c
Short struct name in cpp11_final_override for Scilab
2021-11-15 22:56:29 +00:00
William S Fulton
99954d6d4e
Shorten testcase variable names for Scilab 6 to work
2021-11-15 22:45:56 +00:00
William S Fulton
b53b2f1a27
Shorter names in cpp11_rvalue_reference3 testcase for Scilab
2021-11-15 22:13:27 +00:00
William S Fulton
606491326e
Scilab compilation fix when wrapping C++11 enum classes
2021-11-15 20:19:12 +00:00
William S Fulton
75cacc1325
CC and CXX override improvements in examples
...
Use the overridden CC and CXX compiles when linking
when overriding at make time.
Previously the following would use CC and CXX specified at
configure time when linking:
make CC=gcc-11 CXX=g++-11
2021-11-15 19:55:26 +00:00
William S Fulton
e6b6fa93aa
Fix guile examples for C11 and later conformance
2021-11-15 19:25:41 +00:00
William S Fulton
47d39ed3d8
GHA: Add Guile to c++11,c++14,c++17 testing
2021-11-15 08:17:32 +00:00
William S Fulton
54e2ad073f
Fix cpp11_type_aliasing test
...
Ordering fix for Guile wrappers to compile
2021-11-15 08:00:46 +00:00
William S Fulton
c83466af53
GHA: Add Lua to c++11,c++14,c++17 testing
2021-11-12 19:49:45 +00:00
William S Fulton
10af8fd921
Workaround Lua failing cpp11_raw_string_literals test
2021-11-12 19:45:25 +00:00
William S Fulton
01eb2e0aa9
Lua int ref typemap improvements
...
Fixes complex typedefs to const int& and const unsigned int&.
Fixes cpp11_type_aliasing testcase
2021-11-12 19:30:53 +00:00
William S Fulton
842ed6ca9d
Testcase warning fix using gcc-11
...
warning: ‘this’ pointer is null [-Wnonnull]
2021-11-12 19:00:20 +00:00
William S Fulton
ada739b4a8
Fix mismatched new char[] and free() - Javascript
...
Javascript - v8 and node only.
When wrapping C code char arrays.
Now calloc is now used instead of new char[] in SWIG_AsCharPtrAndSize.
Fixes gcc-11 warning -Wmismatched-new-delete in arrays and
memberin_extend testcases.
2021-11-12 19:00:20 +00:00
William S Fulton
6cafc93135
-Wfree-nonheap-object warning fix using gcc-11
2021-11-12 19:00:20 +00:00
William S Fulton
d15a3cb1d4
Fix testcase -Wstringop-truncation warning in gcc11
2021-11-12 19:00:20 +00:00
William S Fulton
7da8ce722b
Ruby 3.0 requires std::nullptr_t
2021-11-12 19:00:20 +00:00
William S Fulton
aedcad5384
Run GHA on all branches
2021-11-12 19:00:20 +00:00
William S Fulton
c1d8852609
GHA: Turn on full c++11, c++14, c++17 testing
...
Like we had on Travis
Note that Octave C++11 is already tested
2021-11-12 19:00:20 +00:00
William S Fulton
d13c63dc8d
GHA: test go 1.17 (latest) version
2021-11-11 20:38:50 +00:00
William S Fulton
e74b9830bb
GHA: C++11 testing and compiler name
...
Show compiler name (directly from inputs rather than from 'desc'.
Fix testing of C++11, C++14.
Allow for CSTD override to override with -std=gnu11 for languages
whose headers are not -std=c11 compatible.
Show c/c++ std being tested from github yaml file in the name.
2021-11-11 20:33:26 +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
William S Fulton
95c76a6fa6
Simpler Test code for handling SWIGLANG
2021-11-11 20:17:50 +00:00
William S Fulton
1bd3e771a0
Fix C tests for Javascript and c++17
2021-11-11 19:56:37 +00:00
William S Fulton
1c34be2d24
Fix nspace warning message
2021-11-11 18:59:25 +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
8b5cd5f906
GHA: cleaner output
2021-10-22 15:44:36 +01:00
William S Fulton
cbbeb4298a
GHA: Fix CSTD and CPPSTD usage
2021-10-22 15:44:27 +01:00
William S Fulton
cf8268d19e
GHA: Remove go-1.3 testing
...
Results in error message:
/usr/bin/ld: -r and -pie may not be used together
Same problem on Ubuntu 18.04. Same with versions go-1.2 to go-1.5.
2021-10-22 15:03:49 +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
04a6ad3bb5
Add SWIG_FEATURES into GHA name
2021-10-22 14:49:01 +01:00