aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-26 18:29:23 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2021-01-26 18:29:23 +0000
commit745910db64b7ea7e40683e620c48cf5aa971981a (patch)
treefe95673bac5b08da1d9eba610f2a0eb3351e0a3a
parentMove docker build to separate action (diff)
downloadTCPDBench-745910db64b7ea7e40683e620c48cf5aa971981a.tar.gz
TCPDBench-745910db64b7ea7e40683e620c48cf5aa971981a.zip
Try to get the non-docker approach working first
-rw-r--r--.github/workflows/build.yml47
1 files changed, 37 insertions, 10 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ebcd846b..3ce26a3c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,18 +7,45 @@ on:
- cron: 42 8 * * */21
jobs:
- tcpdbench-docker:
- name: Check TCPDBench (docker)
+ tcpdbench-ubuntu:
+ name: Check TCPDBench (direct)
runs-on: ubuntu-latest
- container:
- volumes:
- - ./analysis/output:/TCPDBench/analysis/output
steps:
- - name: Checkout
- uses: actions/checkout@v2
+ - name: Install dependencies
+ run: sudo apt-get update && sudo apt-get install build-essential latexmk
+ shell: bash
+
+ - name: Install Python 3.8
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.8'
- - name: TCPDBench docker check
- uses: ./.github/workflows/
+ - name: Checkout code
+ uses: actions/checkout@v2
with:
- entrypoint: "make clean && make results && git checkout ./analysis/output/rankplots/*.pdf && git diff --exit-code"
+ submodules: true
+
+ - name: Install Python dependencies
+ run: pip install -r ./analysis/requirements.txt
+ shell: bash
+
+ - name: Make results
+ run: make results
+ shell: bash
+
+ # tcpdbench-docker:
+ # name: Check TCPDBench (docker)
+ # runs-on: ubuntu-latest
+ # container:
+ # volumes:
+ # - ./analysis/output:/TCPDBench/analysis/output
+ #
+ # steps:
+ # - name: Checkout
+ # uses: actions/checkout@v2
+ #
+ # - name: TCPDBench docker check
+ # uses: ./.github/workflows/
+ # with:
+ # entrypoint: "make clean && make results && git checkout ./analysis/output/rankplots/*.pdf && git diff --exit-code"