Skip to content

bench: differentiate between parser time and smt solver time #14

bench: differentiate between parser time and smt solver time

bench: differentiate between parser time and smt solver time #14

Workflow file for this run

name: dlinear CI
on:
push:
branches: [main]
paths:
- "dlinear/**"
- "test/**"
pull_request:
branches: [main]
paths:
- "dlinear/**"
- "test/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: build-essential g++ libgmp-dev autoconf flex bison
version: 1.0
- name: Cache Bazel
uses: actions/cache@v3
with:
path: |
~/.cache/dlinear_bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelrc', 'WORKSPACE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
- name: Build
run: bazel build //dlinear
lint:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: build-essential g++ libgmp-dev autoconf flex bison
version: 1.0
- name: Cache Bazel
uses: actions/cache@v3
with:
path: |
~/.cache/dlinear_bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelrc', 'WORKSPACE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
- name: Lint
run: bazel test --test_tag_filters=cpplint //dlinear/...
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: build-essential g++ libgmp-dev autoconf flex bison
version: 1.0
- name: Cache Bazel
uses: actions/cache@v3
with:
path: |
~/.cache/dlinear_bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelrc', 'WORKSPACE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
- name: Test
run: bazel test --test_tag_filters=dlinear //test/...
test-smt2:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Cache Bazel
uses: actions/cache@v3
with:
path: |
~/.cache/dlinear_bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelrc', 'WORKSPACE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: build-essential g++ libgmp-dev autoconf flex bison
version: 1.0
- name: Test
run: bazel test //test/... --test_tag_filters=smt2