Commit graph

22,353 commits

Author SHA1 Message Date
Alba Mendez
cf7733e4b8 refactor integers JS testcase to avoid repeating code 2022-10-10 12:49:57 +02:00
Sergio Garcia Murillo
e38883636e
Merge pull request #1 from medooze/master
dsf
2021-11-29 16:13:00 +01:00
Sergio Garcia Murillo
975a36d5a5
Merge branch 'fix-cast' into master 2021-11-29 16:12:38 +01:00
Sergio Garcia Murillo
56e7455af9 Return uint64_t as double if is bigger than uint32_t 2021-11-29 16:08:03 +01: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
William S Fulton
c280d63a4d GHA: Add python 3.10 testing 2021-10-20 21:05:20 +01:00
William S Fulton
76d8e2cfaf
Merge pull request #2064 from jschueller/py310
[Python] Fix overload_simple_cast test with 3.10
2021-10-20 19:45:55 +01:00
William S Fulton
7a65f028f8 Update docs - python static members access
[skip-ci]
2021-10-20 11:53:18 +01:00