Skip to content

Commit

Permalink
ci: start porting tests to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
klali committed Mar 31, 2021
1 parent 3b3d341 commit 9a80643
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 19 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build_and_test.yml
@@ -0,0 +1,34 @@
name: Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
cc: gcc-10
config_args: "--without-mysql"
extra: "libldap2-dev libykpers-1-dev libnet-ldap-server-perl"
- os: ubuntu-20.04
cc: gcc-10
config_args: "--without-ldap --without-mysql"
extra: "libykpers-1-dev"
- os: ubuntu-20.04
cc: gcc-10
config_args: "--without-cr --without-mysql"
extra: "libldap2-dev libnet-ldap-server-perl"
- os: ubuntu-20.04
cc: gcc-10
config_args: "--without-ldap --without-cr --without-mysql"
extra: ""
steps:
- uses: actions/checkout@v1
- name: Build and test
env:
CC: ${{ matrix.cc }}
CONFIGURE_ARGS: ${{ matrix.config_args }}
EXTRA: ${{ matrix.extra }}
run: |
tests/aux/build-and-test.sh
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

0 comments on commit 9a80643

Please sign in to comment.