Skip to content

Commit d256ece

Browse files
authored
Clarify CI workflows (#96)
Rename ci.yml to build.yml since it is explicitly building the project and documentation. Also make this workflow run on PR because whether the build was successful was not being beamed to a status check. Rename pr.yml to format.yml since it is explicitly ensuring that the source code is properly formatted.
1 parent 5edcf4b commit d256ece

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
---
22

3-
name: CI
3+
name: CI Build
44

5-
on: [push]
5+
on:
6+
push:
7+
branches:
8+
- master
9+
- 'libwpe-*'
10+
pull_request:
11+
branches:
12+
- master
613

714
jobs:
815
linux:
@@ -125,4 +132,3 @@ jobs:
125132
- name: Meson - Build
126133
run: |
127134
ninja -C _build
128-
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22

3-
name: CI PR
3+
name: CI Source Formatting
44

5-
on: [pull_request]
5+
on:
6+
pull_request:
7+
branches:
8+
- master
69

710
jobs:
811
format-cmake:

0 commit comments

Comments
 (0)