Skip to content

Commit

Permalink
update mac ci for modern brew
Browse files Browse the repository at this point in the history
  • Loading branch information
bovine committed May 11, 2024
1 parent 3039042 commit 33587e8
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ jobs:
- name: Install dependencies
run: |
brew update
brew install tcl-tk || true
sudo mkdir -p /usr/local
sudo ln -sf /usr/local/opt/tcl-tk/include /usr/local/include/tcl8.6
sudo rm -f /usr/local/lib/libtcl* || true
sudo cp /usr/local/opt/tcl-tk/lib/libtcl* /usr/local/lib
sudo ln -sf /usr/local/opt/tcl-tk/bin/tclsh8.6 /usr/local/bin/tclsh
sudo ln -sf /usr/local/opt/tcl-tk/bin/tclsh8.6 /usr/local/bin/tclsh8.6
brew install tcl-tk autoconf libpq
- name: configure
run: |
autoreconf -vi
./configure --with-tcl=/usr/local/opt/tcl-tk/lib --prefix=/usr/local
export PG_CONFIG=/opt/homebrew/opt/libpq/bin/pg_config
./configure --with-tcl=/opt/homebrew/opt/tcl-tk/lib/ --prefix=/usr/local
- name: make
run: make
- name: install
run: sudo make install

0 comments on commit 33587e8

Please sign in to comment.