1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 16:51:46 -07:00

Renaming the c-cpp workflow to build-and-test, which expresses better its intention.

This commit is contained in:
Richard Brooksby 2023-01-15 13:16:34 +00:00
parent eb7fad8de6
commit 476a80d0e6
3 changed files with 6 additions and 6 deletions

View file

@ -1,15 +1,15 @@
# .github/workflows/c-cpp.yml
# .github/workflows/build-and-test.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
name: build and test
on:
- push
- pull_request
# Also run when triggered manually
# Also run when triggered manually, e.g. by tool/github-ci-kick
# <https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow>
- workflow_dispatch

View file

@ -18,7 +18,7 @@ os:
# - osx
# See "include" section for Windows
arch:
# Most amd64 builds moved to GitHub CI. See .github/workflows/c-cpp.yml.
# Most amd64 builds moved to GitHub CI. See .github/workflows/build-and-test.yml.
# - amd64
- arm64
compiler:

View file

@ -7,7 +7,7 @@
# This shell script uses the GitHub REST API to kick off a build on
# the GitHub CI servers [GITHUB]. The build will be run using the
# GitHub CI configuration at the commit (in
# .github/workflows/c-cpp.yml).
# .github/workflows/build-and-test.yml).
#
# See also tool/travis-ci-kick.
#
@ -68,7 +68,7 @@ curl --silent --show-error \
--header "Accept: application/vnd.github+json" \
--header "Authorization: Bearer ${auth}"\
--header "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/${org}/${repo}/actions/workflows/c-cpp.yml/dispatches" \
"https://api.github.com/repos/${org}/${repo}/actions/workflows/build-and-test.yml/dispatches" \
<<-EOF
{
"ref": "${branch}"