-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce github actions for regression tests.
- Loading branch information
1 parent
7cc981c
commit e453998
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Regression Tests | ||
on: [push] | ||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Install dependencies | ||
run: sudo apt-get install -y bmake | ||
- name: Configure | ||
run: | | ||
cat /etc/os-release | ||
./configure | ||
- name: Build and test | ||
run: bmake regress | ||
linux_libbsd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Install dependencies | ||
run: sudo apt-get install -y bmake pkg-config libbsd-dev | ||
- name: Configure | ||
run: | | ||
cat /etc/os-release | ||
CFLAGS=$(pkg-config --cflags libbsd-overlay) ./configure CPPFLAGS="-DENABLE_SECCOMP_FILTER=1" LDFLAGS=$(pkg-config --libs libbsd-overlay) | ||
- name: Build and test | ||
run: bmake regress | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Install dependencies | ||
run: brew install bmake | ||
- name: Configure | ||
run: ./configure | ||
- name: Build and test | ||
run: bmake regress |