mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-08 02:58:47 +00:00
49 lines
789 B
YAML
49 lines
789 B
YAML
|
name: C/C++ CI
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
ubuntu:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Install deps
|
||
|
run: |
|
||
|
sudo apt install expect gettext libncurses5-dev libpcre2-dev
|
||
|
- name: cmake
|
||
|
run: |
|
||
|
mkdir build && cd build
|
||
|
cmake ..
|
||
|
- name: make
|
||
|
run: |
|
||
|
make
|
||
|
- name: make test
|
||
|
run: |
|
||
|
make test
|
||
|
|
||
|
macos:
|
||
|
|
||
|
runs-on: macos-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Install deps
|
||
|
run: |
|
||
|
brew install pcre2
|
||
|
- name: cmake
|
||
|
run: |
|
||
|
mkdir build && cd build
|
||
|
cmake ..
|
||
|
- name: make
|
||
|
run: |
|
||
|
make
|
||
|
- name: make test
|
||
|
run: |
|
||
|
make test
|