forked from kristapsdz/oconfigure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a26eaa
commit 69b224e
Showing
1 changed file
with
74 additions
and
54 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 |
---|---|---|
@@ -1,63 +1,83 @@ | ||
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 | ||
# 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 | ||
# freebsd: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@master | ||
# - name: Test in FreeBSD | ||
# uses: vmactions/freebsd-vm@v1 | ||
# with: | ||
# usesh: true | ||
# prepare: pkg install -y curl | ||
# run: | | ||
# freebsd-version | ||
# ./configure | ||
# make regress | ||
# netbsd: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@master | ||
# - name: Test in NetBSD | ||
# uses: vmactions/netbsd-vm@v1 | ||
# with: | ||
# usesh: true | ||
# prepare: /usr/sbin/pkg_add curl | ||
# run: | | ||
# uname -a | ||
# ./configure | ||
# make regress | ||
msys2_mingw_x86_64: | ||
runs-on: windows-latest | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
steps: | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
update: true | ||
install: >- | ||
mingw-w64-x86_64-bmake | ||
mingw-w64-x86_64-binutils | ||
mingw-w64-x86_64-gcc | ||
mingw-w64-x86_64-crt | ||
mingw-w64-x86_64-headers | ||
- uses: actions/checkout@master | ||
- name: Install dependencies | ||
run: brew install bmake | ||
- name: Configure | ||
run: ./configure | ||
- name: Build and test | ||
run: bmake regress | ||
freebsd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Test in FreeBSD | ||
uses: vmactions/freebsd-vm@v1 | ||
with: | ||
usesh: true | ||
prepare: pkg install -y curl | ||
run: | | ||
freebsd-version | ||
./configure | ||
make regress | ||
netbsd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Test in NetBSD | ||
uses: vmactions/netbsd-vm@v1 | ||
with: | ||
usesh: true | ||
prepare: /usr/sbin/pkg_add curl | ||
run: | | ||
uname -a | ||
./configure | ||
make regress |