-
Notifications
You must be signed in to change notification settings - Fork 256
43 lines (41 loc) · 1.18 KB
/
autoconf-check.yml
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
37
38
39
40
41
42
name: Check autoconf
on:
push:
branches:
- main
- '[0-9]+.[0-9]+'
pull_request:
branches:
- main
- '[0-9]+.[0-9]+'
jobs:
debian-family:
strategy:
matrix:
version: [jammy, focal, rolling]
os: [ubuntu]
releaseBranch:
- ${{ contains(github.ref, 'main') }}
exclude:
- releaseBranch: false
include:
- os: debian
version: testing
- os: debian
version: stable
runs-on: ubuntu-latest
env:
DEBIAN_FRONTEND: noninteractive
TZ: Etc/UTC
container:
image: ${{ matrix.os }}:${{ matrix.version }}
steps:
- name: Install everything for configure and testing
run: apt-get update; apt-get install pkg-config make bats autoconf git -y; apt-get full-upgrade -y
- uses: actions/checkout@v3
- name: Build the configure file
run: make configure
- name: Install extra assert statements for bots
run: cp submit/assert.bash .github/jobs/configure-checks/
- name: Run the configure tests for this usecase
run: test_path="/__w/domjudge/domjudge" bats .github/jobs/configure-checks/all.bats