-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (31 loc) · 1.04 KB
/
test.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
name: Run regression tests on push to master
on:
push:
branches:
- "*"
pull_request:
types: [opened, reopened]
jobs:
package:
runs-on: ${{ matrix.distro }}
strategy:
fail-fast: false
matrix:
# distro: [focal,jammy]
distro: ["ubuntu-20.04", "ubuntu-22.04"]
env:
PACKAGECLOUD_REPOSITORY: test
steps:
- name: Checkout source
uses: actions/checkout@v3.6.0
- name: Install dependencies
run: |
sudo apt-get update &
DEBIAN_FRONTEND=noninteractive sudo apt-get install g++ libboost-dev libboost-math-dev libboost-regex-dev libboost-filesystem-dev python3
# Remove warnings for missing wx-config. Need to fix build to only use wx-config for building programs that need it.
- name: Setup wx-config dummy command
run: sudo ln -s `which true` /usr/bin/wx-config
- name: Build snap command line utilities for regression tests
run: make snap_cmd
- name: Run regression tests
run: TESTFLAGS=-e make test