From 1876a6c9ffb6e31c91a4fa21d7670c2cd7569b47 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 22 Apr 2020 18:34:17 -0700 Subject: [PATCH] GH Action Test Add test coverage for macOS builds: - macOS 10.15 + AppleClang 11.0 - macOS 10.15 + Homebrew GCC (atm 9.3) --- .github/workflows/macos.yml | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000000000..679a92f21d43d1 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,40 @@ +name: macOS w/ clang or GCC + +on: + push: + pull_request: + +jobs: + # this needs the fix in + # https://github.com/python/cpython/pull/13306 + install_gcc9_autotools: + name: install with gcc@9.3.0 (Autotools) + runs-on: macos-10.15 + steps: + - uses: actions/checkout@v2 + - name: install GCC with brew + run: | + brew install automake + brew install gcc + gcc-9 --version + - name: compile + run: | + export CC=$(which gcc-9) + export CXX=$(which g++-9) + ./configure + make -j 2 + make buildbottest + + install_clang_autotools: + name: install with AppleClang 11.0 (Autotools) + runs-on: macos-10.15 + steps: + - uses: actions/checkout@v2 + - name: install autotools with brew + run: | + brew install automake + - name: compile + run: | + ./configure + make -j 2 + make buildbottest