File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 - uses : actions/checkout@v6
4545 - name : Install Dependencies
4646 run : |
47- brew install ccache swig
48- swig -version
47+ brew install ccache
4948 - name : Setup Python
5049 uses : actions/setup-python@v6
5150 with :
5453 run : |
5554 echo "$HOME/Library/Python/${{matrix.python.version}}/bin" >> $GITHUB_PATH
5655 echo "$HOME/.local/bin" >> $GITHUB_PATH
56+ # can't use brew swig (4.4) since Director python support is broken on macos
57+ # see: https://github.com/swig/swig/issues/3279
58+ - name : Install SWIG
59+ run : |
60+ wget -q https://downloads.sourceforge.net/project/swig/swig/swig-4.3.1/swig-4.3.1.tar.gz && tar xzvf swig-4.3.1.tar.gz && rm swig-4.3.1.tar.gz
61+ cd swig-4.3.1 && ./configure --prefix=$HOME/.local && make -j 4 && make install
62+ rm -rf swig-4.3.1
63+ - name : Check SWIG
64+ run : swig -version
5765
5866 # RESTORING CACHES
5967 - name : Restore CMake dependency source code
Original file line number Diff line number Diff line change 4444 - uses : actions/checkout@v6
4545 - name : Install Dependencies
4646 run : |
47- brew install ccache swig
48- swig -version
47+ brew install ccache
4948 - name : Setup Python
5049 uses : actions/setup-python@v6
5150 with :
5453 run : |
5554 echo "$HOME/Library/Python/${{matrix.python.version}}/bin" >> $GITHUB_PATH
5655 echo "$HOME/.local/bin" >> $GITHUB_PATH
56+ # can't use brew swig (4.4) since Director python support is broken on macos
57+ # see: https://github.com/swig/swig/issues/3279
58+ - name : Install SWIG
59+ run : |
60+ wget -q https://downloads.sourceforge.net/project/swig/swig/swig-4.3.1/swig-4.3.1.tar.gz && tar xzvf swig-4.3.1.tar.gz && rm swig-4.3.1.tar.gz
61+ cd swig-4.3.1 && ./configure --prefix=$HOME/.local && make -j 4 && make install
62+ rm -rf swig-4.3.1
63+ - name : Check SWIG
64+ run : swig -version
5765
5866 # RESTORING CACHES
5967 - name : Restore CMake dependency source code
You can’t perform that action at this time.
0 commit comments