mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-30 18:52:47 -07:00
27 lines
671 B
YAML
27 lines
671 B
YAML
# .github/workflows/c-cpp.yml
|
|
#
|
|
# GitHub CI <https://docs.github.com/en/actions/automating-builds-and-tests/about-continuous-integration>
|
|
#
|
|
# Adapted from <https://github.com/actions/starter-workflows/blob/9f245d9aba830ad16a097a45c78331a05114d815/ci/c-cpp.yml>
|
|
|
|
name: C/C++ CI
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
# See <https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#using-a-matrix-strategy>.
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: configure
|
|
run: ./configure
|
|
- name: make
|
|
run: make
|
|
- name: make test
|
|
run: make test
|