From 745910db64b7ea7e40683e620c48cf5aa971981a Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 26 Jan 2021 18:29:23 +0000 Subject: Try to get the non-docker approach working first --- .github/workflows/build.yml | 47 +++++++++++++++++++++++++++++++++++---------- 1 file 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" -- cgit v1.2.3