From 5cf85ad3ac580f2f7253a1609dbca0be270be89c Mon Sep 17 00:00:00 2001 From: Seokhyun Lee <7948302+henrylee97@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:40:22 +0900 Subject: [PATCH] chore(cicd): fix errors affected benchmarks by base update (#69) * chore(cicd): fix errors affected benchmarks by base update * chore: bootstrap base images --- .github/workflows/build.yml | 4 ++-- C-base/flex/Dockerfile | 1 + C-base/snort/Dockerfile | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a54394910..c77090cd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,9 +84,9 @@ jobs: - id: find-targets run: | { - for base in $(echo ${{ needs.find-updated-bases.outputs.targets }} | jq -r '.[]'); do + for base in $(echo '${{ needs.find-updated-bases.outputs.targets }}' | jq -r '.[]'); do base=$(echo $base | sed 's/-base//') - ls $base-* + find $base-* -maxdepth 0 -type d done } > /tmp/updated-benchmarks.txt git diff --name-only --diff-filter=ACMR HEAD^ HEAD | grep -e "^OCaml/" -e "^Java/" -e "^C/" -e "^Solidity/" | cut -d '/' -f 1-2 | sort | uniq >> /tmp/updated-benchmarks.txt diff --git a/C-base/flex/Dockerfile b/C-base/flex/Dockerfile index 399d35906..69625bf7d 100644 --- a/C-base/flex/Dockerfile +++ b/C-base/flex/Dockerfile @@ -23,3 +23,4 @@ RUN git clone https://github.com/westes/flex.git buggy \ && git checkout d3de49f84224b18c5287653f20525291b24cc26e \ && ./autogen.sh \ && ./configure + diff --git a/C-base/snort/Dockerfile b/C-base/snort/Dockerfile index 569967f75..db1d111be 100644 --- a/C-base/snort/Dockerfile +++ b/C-base/snort/Dockerfile @@ -33,3 +33,4 @@ RUN mkdir -p buggy \ && mv /tmp/src/util.h /workspace/buggy/src/util.h \ && cd buggy \ && ./configure +