mirror of
https://github.com/nasa/trick.git
synced 2025-04-06 19:06:46 +00:00
Update MacOS workflow to use SWIG 4.1.1 instead of the newest SWIG 4.2 (#1648)
* Updated to use SWIG 4.1.1 due to SWIG 2.0 generats setter wrapper for private constructor or operator. * Needed to go to unzipped swig-4.1.1 directory before building it. * Install needed packages for being able to run SWIG 4.1.1 build script.
This commit is contained in:
parent
bfb6419637
commit
bc36f760e9
11
.github/workflows/test_macos.yml
vendored
11
.github/workflows/test_macos.yml
vendored
@ -25,9 +25,18 @@ jobs:
|
||||
run: |
|
||||
# sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target /
|
||||
brew install --cask xquartz
|
||||
brew install swig udunits openmotif maven
|
||||
brew install udunits openmotif maven
|
||||
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/clang+llvm-14.0.6-x86_64-apple-darwin.tar.xz
|
||||
tar -xvf clang+llvm-14.0.6-x86_64-apple-darwin.tar.xz
|
||||
brew install autoconf automake libtool
|
||||
wget https://github.com/swig/swig/archive/refs/tags/v4.1.1.tar.gz
|
||||
tar -xvzf v4.1.1.tar.gz
|
||||
cd swig-4.1.1
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
- name: Build Trick
|
||||
run: |
|
||||
export MAKEFLAGS=-j4
|
||||
|
Loading…
x
Reference in New Issue
Block a user