From 7554dc78225b4c501e97f56b69f1b5a8eebb5d9f Mon Sep 17 00:00:00 2001 From: Jefty Negapatan Date: Sat, 18 Apr 2020 17:05:22 +0200 Subject: Use GitHub CI for x86_64 build GitHub now offers free CI service via Actions. It's faster and has better integration with GitHub. As of this time, ubuntu-latest (18.04 LTS) and macos-latest (Catalina 10.15) are both supported. See https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners for details. Free users can run 20 concurrent jobs for Ubuntu and 5 for Mac. This is already more than enough. --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c1364ce --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: GitHub CI + +on: [push, pull_request] + +jobs: + ubuntu-build-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install deps + run: | + sudo apt-get update -y + sudo apt-get install -y libevent-dev libseccomp-dev git libsasl2-dev + - name: Build + run: | + gcc --version + ./autogen.sh + ./configure --enable-seccomp --enable-tls --enable-sasl --enable-sasl-pwdb + make -j + - name: Test + run: PARALLEL=5 make test -- cgit v1.2.1