-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from DistributedComponents/fcsl-pcm
Port to fcsl-pcm
- Loading branch information
Showing
68 changed files
with
975 additions
and
8,058 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 |
---|---|---|
|
@@ -83,3 +83,4 @@ extraction/**/*.ml | |
_build | ||
*.d.byte | ||
Makefile.coq.conf | ||
.coqdeps.d |
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 |
---|---|---|
@@ -1,15 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ev | ||
|
||
opam init --yes --no-setup | ||
eval $(opam config env) | ||
|
||
opam repo add coq-released https://coq.inria.fr/opam/released | ||
opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev | ||
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev | ||
|
||
opam pin add coq $COQ_VERSION --kind=version --yes | ||
opam pin add coq-mathcomp-ssreflect $SSREFLECT_VERSION --kind=version --yes --verbose | ||
opam update | ||
|
||
opam pin add Heaps --yes --verbose | ||
opam pin add Core --yes --verbose | ||
make -j4 -C Examples |
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 |
---|---|---|
@@ -1,16 +1,54 @@ | ||
language: c | ||
addons: | ||
apt: | ||
sources: | ||
- avsm | ||
packages: | ||
- ocaml | ||
- opam | ||
- aspcud | ||
language: generic | ||
sudo: false | ||
|
||
services: | ||
- docker | ||
|
||
env: | ||
global: | ||
- THIS_REPO=disel | ||
matrix: | ||
- COQ_VERSION=8.7.1 SSREFLECT_VERSION=1.6.4 | ||
script: bash -ex .travis-ci.sh | ||
sudo: false | ||
- COQ_VERSION=coq8.7-32bit | ||
- COQ_VERSION=coq8.8-32bit | ||
|
||
# The "docker run" command will pull if needed. | ||
# Running this first gives two tries in case of network lossage. | ||
before_script: | ||
- timeout 5m docker pull palmskog/xenial-for-verdi-$COQ_VERSION || true | ||
|
||
# Using travis_wait here seems to cause the job to terminate after 1 minute | ||
# with no error (!). | ||
# The git commands are tried twice, in case of temporary network failure. | ||
# The fcntl line works around a bug where Travis truncates logs and fails. | ||
script: | ||
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" | ||
- REMOTE_ORIGIN_URL=`git config --get remote.origin.url` | ||
- echo "THIS_REPO=${THIS_REPO}" | ||
- echo "COQ_VERSION=${COQ_VERSION}" | ||
- echo "TRAVIS_BRANCH=${TRAVIS_BRANCH}" | ||
- echo "REMOTE_ORIGIN_URL=${REMOTE_ORIGIN_URL}" | ||
- echo "TRAVIS_EVENT_TYPE=${TRAVIS_EVENT_TYPE}" | ||
- echo "TRAVIS_COMMIT=${TRAVIS_COMMIT}" | ||
- echo "TRAVIS_PULL_REQUEST=${TRAVIS_PULL_REQUEST}" | ||
- echo "TRAVIS_PULL_REQUEST_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH}" | ||
- echo "TRAVIS_PULL_REQUEST_SHA=${TRAVIS_PULL_REQUEST_SHA}" | ||
- echo "TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG}" | ||
- >- | ||
docker run palmskog/xenial-for-verdi-$COQ_VERSION /bin/bash -c "true && | ||
if [ $TRAVIS_EVENT_TYPE = pull_request ] ; then | ||
git clone --quiet --depth 9 $REMOTE_ORIGIN_URL $THIS_REPO || git clone --quiet --depth 9 $REMOTE_ORIGIN_URL $THIS_REPO | ||
cd $THIS_REPO | ||
git fetch origin +refs/pull/$TRAVIS_PULL_REQUEST/merge | ||
git checkout -qf $TRAVIS_PULL_REQUEST_SHA | ||
else | ||
git clone --quiet --depth 9 -b $TRAVIS_BRANCH $REMOTE_ORIGIN_URL $THIS_REPO || git clone --quiet --depth 9 -b $TRAVIS_BRANCH $REMOTE_ORIGIN_URL $THIS_REPO | ||
cd $THIS_REPO | ||
git checkout -qf $TRAVIS_COMMIT | ||
fi && | ||
./.travis-ci.sh" | ||
git: | ||
depth: 9 | ||
|
||
notifications: | ||
email: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From DiSeL.Core | ||
From DiSeL | ||
Require Import While. | ||
|
||
Require Import ExtrOcamlBasic. | ||
|
Oops, something went wrong.