Skip to content

Commit 1876a6c

Browse files
committed
GH Action Test
Add test coverage for macOS builds: - macOS 10.15 + AppleClang 11.0 - macOS 10.15 + Homebrew GCC (atm 9.3)
1 parent ebebb64 commit 1876a6c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/macos.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: macOS w/ clang or GCC
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
# this needs the fix in
9+
# https://github.com/python/cpython/pull/13306
10+
install_gcc9_autotools:
11+
name: install with [email protected] (Autotools)
12+
runs-on: macos-10.15
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: install GCC with brew
16+
run: |
17+
brew install automake
18+
brew install gcc
19+
gcc-9 --version
20+
- name: compile
21+
run: |
22+
export CC=$(which gcc-9)
23+
export CXX=$(which g++-9)
24+
./configure
25+
make -j 2
26+
make buildbottest
27+
28+
install_clang_autotools:
29+
name: install with AppleClang 11.0 (Autotools)
30+
runs-on: macos-10.15
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: install autotools with brew
34+
run: |
35+
brew install automake
36+
- name: compile
37+
run: |
38+
./configure
39+
make -j 2
40+
make buildbottest

0 commit comments

Comments
 (0)