Added OpenSUSE to the CI. #241
Workflow file for this run
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: CI | |
on: [ push, pull_request ] | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
name: "Run tests on Ubuntu" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get update -qq -y && sudo apt-get install -qq -y wget curl shunit2 | |
- name: Configure env | |
run: echo "SHUNIT2=$(command -v shunit2 2>/dev/null)" >> $GITHUB_ENV | |
- name: Run tests | |
run: make test | |
fedora: | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
name: "Run tests on Fedora" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: dnf update -q -y && dnf install -q -y make patch wget curl shunit2 | |
- name: Configure env | |
run: echo "SHUNIT2=$(command -v shunit2 2>/dev/null)" >> $GITHUB_ENV | |
- name: Run tests | |
run: make test | |
opensuse: | |
runs-on: ubuntu-latest | |
container: opensuse/tumbleweed:latest | |
name: "Run tests on OpenSUSE" | |
steps: | |
- name: Install dependencies | |
run: zypper ref && zypper --non-interactive in tar gzip findutils wget shunit2 | |
- uses: actions/checkout@v4 | |
- name: Configure env | |
run: echo "SHUNIT2=$(command -v shunit2 2>/dev/null)" >> $GITHUB_ENV | |
- name: Run tests | |
run: make test | |
macos: | |
runs-on: macos-latest | |
name: "Run tests on macOS" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: brew install wget shunit2 | |
- name: Configure env | |
run: echo "SHUNIT2=$(command -v shunit2 2>/dev/null)" >> $GITHUB_ENV | |
- name: Run tests | |
run: make test | |
freebsd: | |
runs-on: ubuntu-latest | |
name: "Run tests on FreeBSD" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
id: freebsd | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
copyback: false | |
prepare: | | |
pkg install -y wget curl shunit2 | |
run: | | |
export SHUNIT2="$(command -v shunit2 2>/dev/null)" | |
make test |