mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 12:35:13 +00:00
b6ffe1a2f1
Add Github Actions CI config
21 lines
553 B
YAML
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" |