Skip to content

Commit 08da879

Browse files
Merge pull request #1704 from robertbaldyga/actions-build-test
Introduce build test
2 parents 32394cc + 8770123 commit 08da879

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

.github/workflows/build-master.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build Status
2+
permissions:
3+
contents: read
4+
pull-requests: read
5+
on:
6+
push:
7+
branches:
8+
- master
9+
jobs:
10+
build:
11+
name: Build Status
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: 'Update submodule'
16+
run: git submodule update --init
17+
- name: 'Configure module'
18+
run: ./configure
19+
- name: 'Build module'
20+
run: make

.github/workflows/build-pr.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build test
2+
permissions:
3+
contents: read
4+
pull-requests: read
5+
on: [pull_request]
6+
jobs:
7+
build:
8+
name: build test
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: 'Update submodule'
13+
run: git submodule update --init
14+
- name: 'Configure module'
15+
run: ./configure
16+
- name: 'Build module'
17+
run: make

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.*
2+
!\.github/
23
!\.gitignore
34
*.bak
45
*.log

0 commit comments

Comments
 (0)