aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-26 17:45:27 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-26 17:45:27 +0000
commit63415c5875d0c675226efcc810d7630204ff0bb9 (patch)
treec4185bddf643757ceb7c9ad1818241052798ac87 /.github
parentUpdate submodules (diff)
downloadTCPDBench-63415c5875d0c675226efcc810d7630204ff0bb9.tar.gz
TCPDBench-63415c5875d0c675226efcc810d7630204ff0bb9.zip
Add initial attempt at github action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..9f5d4592
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,25 @@
+name: Build TCPDBench
+
+on:
+ push:
+ pull_request:
+ schedule:
+ - cron: 42 8 * * */21
+
+jobs:
+ tcpdbench-docker:
+ name: Check TCPDBench (docker)
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Build TCPDBench docker image
+ run: docker build -t alan-turing-institute/tcpdbench .
+
+ - name: Create output directory
+ run: mkdir -p docker_output
+
+ - name: Recreate output and test for differences
+ run: -v docker_output:/TCPDBench/analysis/output alan-turing-institute/tcpdbench /bin/bash -c "make clean && make results && git checkout ./analysis/output/rankplots/*.pdf && git diff --exit-code"