Skip to content

fix mac ci

fix mac ci #38

Workflow file for this run

name: Mac CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
brew update
brew install tcl-tk autoconf libpq || true
ls -lR /opt/homebrew/Cellar/tcl-tk/
#sudo mkdir -p /usr/local/include /usr/local/lib /usr/local/bin
#sudo ln -sf /opt/homebrew/Cellar/tcl-tk/8.6.14/include /usr/local/include/tcl8.6
#sudo rm -f /usr/local/lib/libtcl* || true
#sudo cp /opt/homebrew/Cellar/tcl-tk/8.6.14/lib/ /usr/local/lib/
#sudo ln -sf /opt/homebrew/Cellar/tcl-tk/8.6.14/bin/tclsh8.6 /usr/local/bin/tclsh
#sudo ln -sf /opt/homebrew/Cellar/tcl-tk/8.6.14/bin/tclsh8.6 /usr/local/bin/tclsh8.6
- name: configure
run: |
autoreconf -vi
./configure --with-tcl=/opt/homebrew/Cellar/tcl-tk/8.6.14/lib/ --prefix=/usr/local
- name: make
run: make
- name: install
run: sudo make install