mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
GHA: Add macOS CI
This commit is contained in:
parent
d93e397232
commit
0c022c03ee
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user