Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to GitHub actions for CI #4190

Merged
merged 43 commits into from
Mar 31, 2020
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0db3629
Add CI workflow for debug build.
mpreiner Mar 27, 2020
254046c
Add more builds.
mpreiner Mar 28, 2020
a1ad746
fix
mpreiner Mar 28, 2020
84112ac
Fix
mpreiner Mar 28, 2020
79cc603
Disable py2.
mpreiner Mar 28, 2020
627e7e2
Disable py3 and enable py2.
mpreiner Mar 28, 2020
184607a
Fix.
mpreiner Mar 28, 2020
07cc264
Fix
mpreiner Mar 28, 2020
2be35ac
Disable python.
mpreiner Mar 28, 2020
1f7953b
Fix
mpreiner Mar 28, 2020
647d2a4
Enable Python.
mpreiner Mar 28, 2020
cc36a75
Fix
mpreiner Mar 28, 2020
836bf9f
Try
mpreiner Mar 28, 2020
37d9600
Try
mpreiner Mar 28, 2020
9723795
Try
mpreiner Mar 28, 2020
22dafff
..
mpreiner Mar 28, 2020
4060cd6
Minor
mpreiner Mar 28, 2020
a0ce8f7
Enable py3, install checks.
mpreiner Mar 28, 2020
c6357de
Fix
mpreiner Mar 28, 2020
cad2ee4
Fix
mpreiner Mar 28, 2020
5a88b7e
Use Python3 only.
mpreiner Mar 28, 2020
0d4cf7b
Fix
mpreiner Mar 28, 2020
a7d11e0
Add macOS build
mpreiner Mar 31, 2020
dc88d73
Fix
mpreiner Mar 31, 2020
48a585d
Fix
mpreiner Mar 31, 2020
afdc945
Try
mpreiner Mar 31, 2020
9831cac
Fix
mpreiner Mar 31, 2020
317f3cb
Fix
mpreiner Mar 31, 2020
5c7a02b
Fix
mpreiner Mar 31, 2020
e3a1113
Fix
mpreiner Mar 31, 2020
a2f65a2
Disable example for non-symfpu builds.
mpreiner Mar 31, 2020
56226b1
clang build
mpreiner Mar 31, 2020
588d10f
Fix
mpreiner Mar 31, 2020
968e58b
Fix
mpreiner Mar 31, 2020
24ddb3b
Merge production and production-python.
mpreiner Mar 31, 2020
be4d4d7
Use debug-cln cache key.
mpreiner Mar 31, 2020
6fe0a06
Add CI badge.
mpreiner Mar 31, 2020
4a568b3
Merge branch 'master' into actions-ci
mpreiner Mar 31, 2020
7f23a8d
Minor
mpreiner Mar 31, 2020
2e3f0a9
Merge branch 'master' into actions-ci
mpreiner Mar 31, 2020
cc09396
Trigger actions
mpreiner Mar 31, 2020
eb42986
Update checkout version.
mpreiner Mar 31, 2020
8cfc637
Minor
mpreiner Mar 31, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try
  • Loading branch information
mpreiner committed Mar 28, 2020
commit 37d96000cf3ec5255d78c9471dc8af7570609658
42 changes: 26 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: [
ubuntu,
ubuntu-py2,
ubuntu-py3,
# ubuntu-py3,
ubuntu-debug,
ubuntu-debug-cln
]
Expand All @@ -27,14 +27,14 @@ jobs:
config: production --python-bindings --python2
cache-key: production
python: python
cython: true
python-bindings: true

- name: ubuntu-py3
os: ubuntu-latest
config: production --python-bindings --python3
cache-key: production
python: python3
cython: true
# - name: ubuntu-py3
# os: ubuntu-latest
# config: production --python-bindings --python3
# cache-key: production
# python: python3
# python-bindings: true

- name: ubuntu-debug
os: ubuntu-latest
Expand Down Expand Up @@ -71,10 +71,11 @@ jobs:
${{ matrix.python }} -m pip install toml

- name: Install Cython
if: matrix.cython && runner.os == 'Linux'
if: matrix.python-bindings && runner.os == 'Linux'
run: |
${{ matrix.python }} -m pip install \
Cython==0.29 --install-option="--no-cython-compile"
${{ matrix.python }} -m pip install cython
# \
# Cython==0.29 --install-option="--no-cython-compile"

- name: Restore Dependencies
id: restore-deps
Expand Down Expand Up @@ -117,9 +118,11 @@ jobs:
- name: Configure
run: |
export PATH="/usr/lib/ccache/:$PATH"
${{ matrix.env }} ./configure.sh ${{ matrix.config }} \
./configure.sh ${{ matrix.config }} \
--prefix=$(pwd)/build/install \
--unit-testing
# Enable for clang
# env: ${{ matrix.env }}

- name: Build
run: make -j2
Expand All @@ -129,9 +132,10 @@ jobs:
run: ccache -s

- name: Run CTest
run: make -j2 check \
ARGS='--output-on-failure -LE regress[1-4]' \
CVC4_REGRESSION_ARGS='--no-early-exit'
run: make -j2 check
env:
ARGS: --output-on-failure -LE regress[1-4]
CVC4_REGRESSION_ARGS: --no-early-exit
working-directory: build

# - name: Install Check
Expand All @@ -140,7 +144,13 @@ jobs:
# echo -e "#include <cvc4/api/cvc4cpp.h>\nint main() { CVC4::api::Solver s; return 0; }" > /tmp/test.cpp
# $CXX -std=c++11 /tmp/test.cpp -I install/include -L install/lib -lcvc4
# working-directory: build

#
# - name: Python Install Check
# if: matrix.python-bindings
# run: |
# export PYTHONPATH="$PYTHONPATH:$(dirname $(find build/install/ -name "pycvc4" -type d))"
# ${{ matrix.python }} -c "import pycvc4"
#
# - name: Check Examples
# run: |
# mkdir build
Expand Down