Tomb/.github/workflows/ci.yml
Artur Malimonov b6ffe1a2f1
GitHub Actions CI (#430)
Add Github Actions CI config
2022-01-08 01:26:51 +01:00

21 lines
553 B
YAML

name:
Tomb CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: |
cp -v extras/test/Dockerfile .
docker build -t dyne/tomb .
- name: Disable swap
run: sudo swapoff -a
- name: Run main test suite
run: docker run -t --privileged dyne/tomb /bin/bash -c "make test"
- name: Run Tomb-kdb tests
run: docker run -t --privileged dyne/tomb /bin/bash -c "make -C extras/kdf-keys test"