-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (29 loc) · 810 Bytes
/
main.yml
File metadata and controls
36 lines (29 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [28.2, 29.4, 30.2, master]
container: silex/emacs:${{ matrix.version }}-ci
steps:
- uses: actions/checkout@v5
- name: Clean
run: make clean
- name: Compile
shell: bash
run: |
make bin 2>&1 | tee MAKE_BIN_OUTPUT
echo "Number of warnings: $(grep "Warning:" MAKE_BIN_OUTPUT | wc -l)" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
grep "Warning:" MAKE_BIN_OUTPUT >> $GITHUB_STEP_SUMMARY || true
echo '```' >> $GITHUB_STEP_SUMMARY
- name: Test
run: make test