chore: Updating linz-software-repository version #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |