From c918c98ffaf15e603b01b10a026367881ae8350f Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Tue, 26 Jan 2021 02:05:17 +0300 Subject: [PATCH] mdbx-ci: use github actions instead of fallen travis-ci. Change-Id: I091635fc16d7141bafe350d36fa8943e91807097 --- .github/actions/spelling/expect.txt | 2 ++ .github/workflows/ci.yml | 18 ++++++++++++++++++ .github/workflows/spelling.yml | 3 +-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index fa99ca81..be197e1d 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -844,6 +844,7 @@ lyuryev lz machdep machineid +macos MACROFILE MADV madvise @@ -1695,6 +1696,7 @@ unmap unmapping Unpoisoning unregister +unshallow unspill unspilling unsync diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..68681f3b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: +#, windows-latest + os: [ubuntu-latest, macos-latest, ubuntu-16.04] + steps: + - uses: actions/checkout@v2 + - name: fetch tags + run: git fetch --unshallow --tags --prune + - name: make check + run: make --keep-going all && MALLOC_CHECK_=7 MALLOC_PERTURB_=42 make --keep-going check + shell: bash diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 43219140..78aa3ff1 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -4,10 +4,9 @@ on: jobs: build: - name: Spell checking runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2.0.0 + - uses: actions/checkout@v2 with: fetch-depth: 5 - uses: check-spelling/check-spelling@prerelease