From 890a6e3dcb6d51a8997271e5b7d39049e7a76c31 Mon Sep 17 00:00:00 2001 From: Ashton Snelgrove Date: Wed, 26 May 2021 11:37:04 -0600 Subject: [PATCH] WIP --- .github/workflows/main.yml | 8 +++++++- Dockerfile.actions | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96d3b7bac..b98637fa2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,13 @@ jobs: steps: - name: Checkout the repo uses: actions/checkout@v2 + - name: Load cache + uses: actions/cache@v2 + with: + key: + benchmarks + path: | + benchmarks - name: Get binaries uses: actions/download-artifact@v2 with: @@ -46,7 +53,6 @@ jobs: # repo: LSOracle - name: Run synthesis run: | - find -name lsoracle cp lsoracle /usr/local/bin chmod +x /usr/local/bin/lsoracle mkdir -p /usr/local/share/lsoracle diff --git a/Dockerfile.actions b/Dockerfile.actions index a9f716022..3e88712d4 100644 --- a/Dockerfile.actions +++ b/Dockerfile.actions @@ -4,6 +4,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ apt-get install -y --no-install-recommends\ python3 \ python3.9-distutils \ + python3-pip \ graphviz \ libffi8ubuntu1 \ zlib1g \ @@ -12,11 +13,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ libboost-python1.71.0 \ libboost-program-options1.71.0 \ libreadline8 \ - python3-numpy \ - python3-matplotlib \ make \ tcl && \ apt-get clean +RUN pip3 install matplotlib && pip3 install numpy FROM runtime as build