File tree Expand file tree Collapse file tree 4 files changed +64
-27
lines changed Expand file tree Collapse file tree 4 files changed +64
-27
lines changed Original file line number Diff line number Diff line change
1
+ name : Linux CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Install dependencies
17
+ run : |
18
+ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
19
+ sudo apt-get update -qq
20
+ sudo apt-get install -y gcc-7 g++-7
21
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7
22
+ sudo apt-get install -y tcl8.6-dev
23
+ - name : make
24
+ run : make
25
+ - name : install
26
+ run : sudo make install
27
+ - name : make test
28
+ run : make test
29
+ - name : make examples
30
+ run : make examples
Original file line number Diff line number Diff line change
1
+ name : Mac CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : macos-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Install dependencies
17
+ run : |
18
+ brew update
19
+ brew install tcl-tk || true
20
+ sudo mkdir -p /usr/local
21
+ sudo ln -sf /usr/local/opt/tcl-tk/include /usr/local/include/tcl8.6
22
+ sudo cp /usr/local/opt/tcl-tk/lib/libtcl* /usr/local/lib
23
+ sudo ln -sf /usr/local/opt/tcl-tk/bin/tclsh8.6 /usr/local/bin/tclsh
24
+ sudo ln -sf /usr/local/opt/tcl-tk/bin/tclsh8.6 /usr/local/bin/tclsh8.6
25
+ - name : make
26
+ run : make
27
+ - name : install
28
+ run : sudo make install
29
+ - name : make test
30
+ run : make test
31
+ - name : make examples
32
+ run : make examples
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- [ ![ Build Status] ( https://travis-ci.org/flightaware/cpptcl.svg?branch=master )] ( https://travis-ci.org/flightaware/cpptcl )
1
+ ![ Linux CI] ( https://github.com/flightaware/cpptcl/workflows/Linux%20CI/badge.svg )
2
+ ![ Mac CI] ( https://github.com/flightaware/cpptcl/workflows/Mac%20CI/badge.svg )
2
3
3
4
C++/Tcl - a C++ library for interoperability between C++ and Tcl.
4
5
========
You can’t perform that action at this time.
0 commit comments