-
Notifications
You must be signed in to change notification settings - Fork 10
35 lines (30 loc) · 980 Bytes
/
mac-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 || true
ls -lR /usr/local/opt/ /usr/local/Cellar
sudo mkdir -p /usr/local/include /usr/local/lib /usr/local/bin
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
- name: configure
run: |
autoreconf -vi
./configure --with-tcl=/usr/local/opt/tcl-tk/lib --prefix=/usr/local
- name: make
run: make
- name: install
run: sudo make install