install swig

This commit is contained in:
mlangkabel
2021-07-19 16:24:58 +02:00
parent eba449fea5
commit 2a718377a5
+18 -4
View File
@@ -1,21 +1,28 @@
version: 0.0.0.{build} version: 0.0.0.{build}
image: image:
- Visual Studio 2017 - Visual Studio 2017
- Ubuntu - Ubuntu
- macos - macos
platform: x64 platform: x64
configuration: Release configuration: Release
for: for:
- -
matrix: matrix:
only: only:
- image: Visual Studio 2017 - image: Visual Studio 2017
install: install:
- cmd: echo installing on Windows! - cmd: |
choco install -y --no-progress swig --version 4.0.1
echo foo
build_script: build_script:
- cmd: echo building on Windows! - cmd: echo building on Windows!
- -
@@ -23,7 +30,10 @@ for:
only: only:
- image: Ubuntu - image: Ubuntu
install: install:
- sh: echo installing on Ubuntu! - sh: |
sudo apt-get update
sudo apt-get install -qq swig
echo foo
build_script: build_script:
- sh: echo running on Ubuntu! - sh: echo running on Ubuntu!
- -
@@ -31,11 +41,15 @@ for:
only: only:
- image: macos - image: macos
install: install:
- sh: echo installing on Mac OS! - sh: |
HOMEBREW_NO_AUTO_UPDATE=1 brew install swig
brew link --force swig
echo foo
build_script: build_script:
- sh: echo running on Mac OS! - sh: echo running on Mac OS!
build_script: build_script:
- echo ERROR - Empty default script was executed! - echo ERROR - Empty default script was executed!
- exit 1 - exit 1