Skip to content

Commit 446b894

Browse files
committed
Merge remote-tracking branch 'upstream/master' into merge-upstream
2 parents f010fbe + 34c219b commit 446b894

File tree

373 files changed

+6917
-2774
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

373 files changed

+6917
-2774
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424

2525
# By default, the name of the build is the language used and SWIG options, but matrix entries
2626
# can define the additional "desc" field with any additional information to include in the name.
27-
name: ${{ matrix.SWIGLANG || 'none' }}${{ matrix.PY3 }} ${{ matrix.ENGINE}} ${{ matrix.VER }} ${{ matrix.SWIG_FEATURES }} ${{ (matrix.compiler || 'gcc') }}${{ matrix.GCC }} ${{ matrix.CPPSTD }} ${{ matrix.CSTD }} ${{ matrix.desc }} ${{ matrix.continue-on-error && '(can fail)' }}
27+
name: ${{ matrix.SWIGLANG || 'none' }}${{ matrix.PY2 }} ${{ matrix.ENGINE}} ${{ matrix.VER }} ${{ matrix.SWIG_FEATURES }} ${{ (matrix.compiler || 'gcc') }}${{ matrix.GCC }} ${{ matrix.CPPSTD }} ${{ matrix.CSTD }} ${{ matrix.desc }} ${{ matrix.continue-on-error && '(can fail)' }}
2828

2929
strategy:
3030
matrix:
3131
include:
3232
- SWIGLANG: ""
33+
CPPFLAGS: "-DDOH_POISON"
3334
- SWIGLANG: ""
3435
GCC: 7
3536
- SWIGLANG: ""
@@ -97,7 +98,6 @@ jobs:
9798
- SWIGLANG: octave
9899
CPPSTD: c++11
99100
- SWIGLANG: octave
100-
VER: '6.4'
101101
CPPSTD: c++11
102102
- SWIGLANG: perl5
103103
- SWIGLANG: php
@@ -114,45 +114,38 @@ jobs:
114114
- SWIGLANG: php
115115
VER: '8.1'
116116
- SWIGLANG: python
117+
PY2: 2
117118
- SWIGLANG: python
118-
PY3: 3
119119
VER: '3.2'
120120
os: ubuntu-18.04 # Python < 3.5 not available for 20.04.
121+
continue-on-error: true # broken packages problem
121122
- SWIGLANG: python
122-
PY3: 3
123123
VER: '3.3'
124124
os: ubuntu-18.04 # Python < 3.5 not available for 20.04.
125125
- SWIGLANG: python
126-
PY3: 3
127126
VER: '3.4'
128127
os: ubuntu-18.04 # Python < 3.5 not available for 20.04.
129128
- SWIGLANG: python
130-
PY3: 3
131129
VER: '3.5'
132130
- SWIGLANG: python
133-
PY3: 3
134131
VER: '3.6'
135132
- SWIGLANG: python
136-
PY3: 3
137133
VER: '3.7'
138134
- SWIGLANG: python
139-
PY3: 3
140135
VER: '3.8'
141136
- SWIGLANG: python
142-
PY3: 3
143137
VER: '3.9'
144138
- SWIGLANG: python
145-
PY3: 3
146139
VER: '3.10'
147140
- SWIGLANG: python
141+
PY2: 2
148142
SWIG_FEATURES: -builtin
149143
- SWIGLANG: python
144+
PY2: 2
150145
SWIG_FEATURES: -builtin -O
151146
- SWIGLANG: python
152-
PY3: 3
153147
SWIG_FEATURES: -builtin
154148
- SWIGLANG: python
155-
PY3: 3
156149
SWIG_FEATURES: -builtin -O
157150
- SWIGLANG: r
158151
- SWIGLANG: ruby
@@ -182,7 +175,10 @@ jobs:
182175
VER: '3.0'
183176
CPPSTD: c++11
184177
- SWIGLANG: scilab
185-
os: ubuntu-18.04 # scilab-6.1 in ubuntu-20.04 not yet working
178+
VER: '5.5.2'
179+
- SWIGLANG: scilab
180+
os: ubuntu-18.04 # scilab 6.0
181+
- SWIGLANG: scilab
186182
- SWIGLANG: tcl
187183
# c++11 testing
188184
- SWIGLANG: csharp
@@ -210,14 +206,12 @@ jobs:
210206
CSTD: gnu11
211207
- SWIGLANG: python
212208
CPPSTD: c++11
213-
PY3: 3
214209
- SWIGLANG: r
215210
CPPSTD: c++11
216211
- SWIGLANG: ruby
217212
CPPSTD: c++11
218213
- SWIGLANG: scilab
219214
CPPSTD: c++11
220-
os: ubuntu-18.04 # scilab-6.1 in ubuntu-20.04 not yet working
221215
- SWIGLANG: tcl
222216
CPPSTD: c++11
223217
# c++14 testing
@@ -246,14 +240,12 @@ jobs:
246240
CSTD: gnu11
247241
- SWIGLANG: python
248242
CPPSTD: c++14
249-
PY3: 3
250243
- SWIGLANG: r
251244
CPPSTD: c++14
252245
- SWIGLANG: ruby
253246
CPPSTD: c++14
254247
- SWIGLANG: scilab
255248
CPPSTD: c++14
256-
os: ubuntu-18.04 # scilab-6.1 in ubuntu-20.04 not yet working
257249
- SWIGLANG: tcl
258250
CPPSTD: c++14
259251
# c++17 testing (using gcc11)
@@ -296,7 +288,6 @@ jobs:
296288
- SWIGLANG: python
297289
CPPSTD: c++17
298290
GCC: 11
299-
PY3: 3
300291
- SWIGLANG: r
301292
CPPSTD: c++17
302293
GCC: 11
@@ -306,28 +297,30 @@ jobs:
306297
- SWIGLANG: scilab
307298
CPPSTD: c++17
308299
GCC: 11
309-
os: ubuntu-18.04 # scilab-6.1 in ubuntu-20.04 not yet working
310300
- SWIGLANG: tcl
311301
CPPSTD: c++17
312302
GCC: 11
313303
# Experimental languages (these are allowed to fail)
314304
- SWIGLANG: mzscheme
315305
continue-on-error: true
316306
- SWIGLANG: ocaml
307+
CPPSTD: c++17
308+
GCC: 11
317309
continue-on-error: true
318310
os: ubuntu-18.04 # ocaml-4.08 in ubuntu-20.04 not yet working
319311
# Run all of them, as opposed to aborting when one fails
320312
fail-fast: false
321313

322314
env:
323315
SWIGLANG: ${{ matrix.SWIGLANG }}
324-
PY3: ${{ matrix.PY3 }}
316+
PY2: ${{ matrix.PY2 }}
325317
VER: ${{ matrix.VER }}
326318
ENGINE: ${{ matrix.ENGINE }}
327319
SWIG_FEATURES: ${{ matrix.SWIG_FEATURES }}
328320
GCC: ${{ matrix.GCC }}
329321
CSTD: ${{ matrix.CSTD }}
330322
CPPSTD: ${{ matrix.CPPSTD }}
323+
CPPFLAGS: ${{ matrix.CPPFLAGS }}
331324
FCSTD: ${{ matrix.FCSTD }}
332325

333326
steps:
@@ -412,7 +405,8 @@ jobs:
412405
esac
413406
echo CSTD="$CSTD" >> $GITHUB_ENV
414407
fi
415-
if test -n "$CPPSTD"; then CONFIGOPTS+=(--enable-cpp11-testing "CXXFLAGS=-std=$CPPSTD $CXXFLAGS"); fi
408+
if test -z "$CPPSTD"; then CONFIGOPTS+=("--disable-cpp11-testing"); fi
409+
if test -n "$CPPSTD"; then CONFIGOPTS+=("CXXFLAGS=-std=$CPPSTD $CXXFLAGS"); fi
416410
if test -n "$CSTD"; then CONFIGOPTS+=("CFLAGS=-std=$CSTD $CFLAGS"); fi
417411
if test -n "$FCSTD"; then CONFIGOPTS+=("FCFLAGS=-std=$FCSTD $FCFLAGS"); fi
418412
if test -n "$SWIGLANG"; then CONFIGOPTS+=(--without-alllang --with-$WITHLANG); fi

ANNOUNCE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ Availability
2525
============
2626
The release is available for download on Sourceforge at
2727

28-
http://prdownloads.sourceforge.net/swig/swig-4.1.0.tar.gz
28+
https://prdownloads.sourceforge.net/swig/swig-4.1.0.tar.gz
2929

3030
A Windows version is also available at
3131

32-
http://prdownloads.sourceforge.net/swig/swigwin-4.1.0.zip
32+
https://prdownloads.sourceforge.net/swig/swigwin-4.1.0.zip
3333

3434
Please report problems with this release to the swig-devel mailing list,
3535
details at http://www.swig.org/mail.html.

0 commit comments

Comments
 (0)