Skip to content

update latest SVF performance data #770

update latest SVF performance data

update latest SVF performance data #770

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Test-Suite
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
linux_build:
# The type of runner that the job will run on
runs-on: ubuntu-24.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: env-setup
run: |
sudo apt-get update
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install cmake gcc g++ nodejs doxygen graphviz lcov libncurses5-dev libtinfo6 libzstd-dev unzip tar
wget https://github.com/SVF-tools/SVF/releases/download/SVF-3.0/llvm-16.0.0-ubuntu24-rtti-x86-64.tar.gz
mkdir -p "/opt/llvm" && tar -xf llvm-16.0.0-ubuntu24-rtti-x86-64.tar.gz -C "/opt/llvm" --strip-components 1
echo "/opt/llvm/bin" >> $GITHUB_PATH
- name: stash-changes
run: |
git stash --all
echo $(pwd)
# Runs a set of commands using the runners shell
- name: generate-bcs
run: |
echo $(pwd)
git status
git pull
bash ./generate_bc.sh
git clone https://github.com/bjjwwang/crux-bitcode -b 16.0.6
cd crux-bitcode
rm pkgs.txt
echo -e "bc\nhtop\ncurl\nbzip2\nunrar\ntmux\nbash" >> pkgs.txt
bash ./build-bitcode.sh
unzip -j -o \*.zip -d $GITHUB_WORKSPACE/test_cases_bc/crux-bc/
rm $GITHUB_WORKSPACE/test_cases_bc/crux-bc/info.txt
cd ..
- name: commit-and-push
run: |
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
git status
git add .
git commit -am "update bc files" || true
git push
mac_build:
needs: linux_build
runs-on: macos-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- name: stash-changes
run: |
git stash --all
echo $(pwd)
- name: generate-bcs
run: |
echo $(pwd)
git status
bash ./generate_bc.sh
- name: commit-and-push
run: |
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
git status
git pull
git add .
git commit -am "update bc files" || true
git push