diff options
author | James McCoy <jamessan@jamessan.com> | 2020-11-16 21:28:01 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2020-11-24 21:26:02 -0500 |
commit | 0c022c03ee6177480abac92e80f6fd767500ed95 (patch) | |
tree | b001e751e18b752ed4c634ca3c8e3ab2a2d51ac4 | |
parent | d93e397232ad93c106c143a720c256f96f0588e5 (diff) | |
download | rneovim-0c022c03ee6177480abac92e80f6fd767500ed95.tar.gz rneovim-0c022c03ee6177480abac92e80f6fd767500ed95.tar.bz2 rneovim-0c022c03ee6177480abac92e80f6fd767500ed95.zip |
GHA: Add macOS CI
-rw-r--r-- | .github/workflows/ci.yml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8a8c01137..099f0b64d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,21 +1,31 @@ -name: Linux CI +name: CI on: [push, pull_request] jobs: - linux: - name: ${{ matrix.flavor }} (cc=${{ matrix.cc }}) - runs-on: ubuntu-20.04 + build: + name: ${{ matrix.os }} ${{ matrix.flavor }} (cc=${{ matrix.cc }}) strategy: matrix: include: - flavor: asan cc: clang-11 + runner: ubuntu-20.04 + os: linux - flavor: lint cc: gcc + runner: ubuntu-20.04 + os: linux - flavor: tsan cc: clang-11 + runner: ubuntu-20.04 + os: linux + - cc: clang + runner: macos-10.15 + os: osx + runs-on: ${{ matrix.runner }} env: CC: ${{ matrix.cc }} + CI_OS_NAME: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -29,6 +39,7 @@ jobs: sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main' - name: Install apt packages + if: matrix.os == 'linux' run: | sudo apt-get update sudo apt-get install -y autoconf automake build-essential ccache cmake cpanminus cscope gcc-multilib gdb gettext gperf language-pack-tr libtool-bin locales ninja-build pkg-config python3 python3-pip python3-setuptools unzip valgrind xclip |