-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin' into per-thread-state
- Loading branch information
Showing
198 changed files
with
36,153 additions
and
1,091 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build | ||
|
||
inputs: | ||
mode: | ||
required: true | ||
config-opt: | ||
required: false | ||
default: "" | ||
env: | ||
required: false | ||
default: "" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Build and install libpoly | ||
shell: bash | ||
run: | | ||
pushd . | ||
git clone https://github.com/SRI-CSL/libpoly.git | ||
mkdir -p libpoly/build | ||
cd libpoly/build | ||
${{ inputs.env }} cmake .. | ||
make | ||
sudo make install | ||
popd | ||
- name: Build and install CUDD | ||
shell: bash | ||
run: | | ||
pushd . | ||
git clone https://github.com/ivmai/cudd.git | ||
cd cudd | ||
git checkout tags/cudd-3.0.0 | ||
autoreconf -fi | ||
${{ inputs.env }} ./configure --enable-shared | ||
make | ||
sudo make install | ||
popd | ||
- name: Build and test Yices | ||
shell: bash | ||
run: | | ||
autoconf | ||
#CFLAGS='-Werror' ${{ inputs.env }} ./configure ${{ inputs.config-opt }} | ||
${{ inputs.env }} ./configure ${{ inputs.config-opt }} | ||
# This is needed for yices2 to find libpoly.so.0. /usr/local/lib not searched by default? | ||
export LD_LIBRARY_PATH=/usr/local/lib/:${LD_LIBRARY_PATH} | ||
make MODE=${{ inputs.mode }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Coverage | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Run Coverage | ||
shell: bash | ||
run: | | ||
lcov --directory build --base-directory src --capture --output-file coverage.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Install Dependencies | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Linux Dependencies | ||
if: runner.os == 'Linux' | ||
shell: bash | ||
run: | | ||
echo "Install Linux dependencies" | ||
sudo apt-get update | ||
sudo apt-get install -y libgmp-dev gperf | ||
sudo apt-get install -y python3-pip | ||
sudo apt-get install -y lcov | ||
sudo gem install coveralls-lcov | ||
echo "Install Linux dependencies [DONE]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Test | ||
|
||
inputs: | ||
mode: | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Test Yices | ||
shell: bash | ||
run: | | ||
# This is needed for yices2 to find libpoly.so.0. /usr/local/lib not searched by default? | ||
export LD_LIBRARY_PATH=/usr/local/lib/:${LD_LIBRARY_PATH} | ||
make MODE=${{ inputs.mode }} check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
mode: [debug, release] | ||
config-opt: [--enable-mcsat, --enable-thread-safety] | ||
env: [CC=gcc CXX=g++, CC=clang CXX=clang++] | ||
include: | ||
- os: ubuntu-latest | ||
mode: gcov | ||
config-opt: --enable-mcsat | ||
env: CC=gcc CXX=g++ | ||
|
||
name: ${{ matrix.os }}|${{ matrix.mode }}|${{ matrix.config-opt }}|${{ matrix.env }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Dependencies | ||
uses: ./.github/actions/install-dependencies | ||
|
||
- name: Build | ||
uses: ./.github/actions/build | ||
with: | ||
mode: ${{ matrix.mode }} | ||
config-opt: ${{ matrix.config-opt }} | ||
env: ${{ matrix.env }} | ||
|
||
- name: Test | ||
uses: ./.github/actions/test | ||
with: | ||
mode: ${{ matrix.mode }} | ||
|
||
- name: Coverage | ||
if: matrix.mode == 'gcov' | ||
uses: ./.github/actions/coverage | ||
|
||
- name: Coveralls | ||
if: matrix.mode == 'gcov' | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: 'coverage.info' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.