mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-05 04:47:56 +00:00
parent
84ef4bef4b
commit
b6ffe1a2f1
21
.github/workflows/ci.yml
vendored
Normal file
21
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
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"
|
@ -8,9 +8,6 @@ RUN pip3 install setuptools wheel
|
|||||||
|
|
||||||
COPY . /Tomb/
|
COPY . /Tomb/
|
||||||
|
|
||||||
WORKDIR /Tomb/extras
|
|
||||||
RUN ./install_sphinx.sh
|
|
||||||
|
|
||||||
COPY extras/test/doas.conf /etc/doas.conf
|
COPY extras/test/doas.conf /etc/doas.conf
|
||||||
RUN chmod 400 /etc/doas.conf
|
RUN chmod 400 /etc/doas.conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user