Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Refinedrust Dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennard Gäher
Refinedrust Dev
Commits
3e6e2902
Commit
3e6e2902
authored
1 year ago
by
Lennard Gäher
Browse files
Options
Downloads
Patches
Plain Diff
add ci
parent
30f3d2c2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+64
-0
64 additions, 0 deletions
.gitlab-ci.yml
Makefile
+23
-0
23 additions, 0 deletions
Makefile
rr_frontend/RefinedRust.toml
+1
-1
1 addition, 1 deletion
rr_frontend/RefinedRust.toml
with
88 additions
and
1 deletion
.gitlab-ci.yml
0 → 100644
+
64
−
0
View file @
3e6e2902
image
:
registry.mpi-sws.org/gaeher/rust-ci
stages
:
-
build
variables
:
# dune takes care of parallelization itself and does not like running in parallel
CPU_CORES
:
"
1"
MAKE_TARGET
:
"
all_with_examples"
OCAML
:
"
ocaml-variants.4.14.0+options
ocaml-option-flambda"
.template
:
&template
stage
:
build
tags
:
-
fp
script
:
-
git clone https://gitlab.mpi-sws.org/iris/ci.git ci -b opam2
-
ci/buildjob
cache
:
key
:
"
$CI_JOB_NAME"
paths
:
-
_opam/
only
:
-
master@gaeher/refinedrust-dev
-
/^ci/@gaeher/refinedrust-dev
-
/^time/@gaeher/refinedrust-dev
except
:
-
triggers
-
schedules
-
api
## Build jobs
build-coq.8.17.0-timing
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.17.0"
DENY_WARNINGS
:
"
1"
OPAM_PKG
:
"
1"
only
:
-
master@gaeher/refinedrust-dev
-
/^time/@gaeher/refinedrust-dev
# timing only for master and time/ branches
tags
:
-
fp-timing
build-coq.8.17.0
:
<<
:
*template
variables
:
OPAM_PINS
:
"
coq
version
8.17.0"
DENY_WARNINGS
:
"
1"
only
:
-
/^ci/@gaeher/refinedrust-dev
trigger-iris.dev
:
<<
:
*template
variables
:
STDPP_REPO
:
"
iris/stdpp"
IRIS_REPO
:
"
iris/iris"
OPAM_PINS
:
"
coq
version
8.17.0
git+https://gitlab.mpi-sws.org/$STDPP_REPO#$STDPP_REV
coq-iris.dev
git
git+https://gitlab.mpi-sws.org/$IRIS_REPO#$IRIS_REV"
except
:
only
:
-
triggers
-
schedules
-
api
This diff is collapsed.
Click to expand it.
Makefile
+
23
−
0
View file @
3e6e2902
...
@@ -14,6 +14,29 @@ clean:
...
@@ -14,6 +14,29 @@ clean:
@
dune clean
@
dune clean
.PHONY
:
clean
.PHONY
:
clean
frontend-setup
:
cd
rr_frontend
&&
./rustup-toolchain
frontend
:
frontend-setup
cd
rr_frontend
&&
./refinedrust build
#RUST_SRC = $(wildcard rr_frontend/examples/*.rs)
RUST_SRC
=
rr_frontend/examples/paper.rs
%.rs.gen
:
%.rs phony
cd
rr_frontend
&&
./refinedrust run ../
$<
.PHONY
:
phony
generate_all
:
$(addsuffix .gen
,
$(RUST_SRC))
.PHONY
:
generate_all
check_generate_all
:
generate_all
git diff
--exit-code
.PHONY
:
check_generate_all
all_with_examples
:
frontend generate_all
dune build
--display
short
builddep-opamfiles
:
builddep/refinedrust-builddep.opam
builddep-opamfiles
:
builddep/refinedrust-builddep.opam
@
true
@
true
.PHONY
:
builddep-opamfiles
.PHONY
:
builddep-opamfiles
...
...
This diff is collapsed.
Click to expand it.
rr_frontend/RefinedRust.toml
+
1
−
1
View file @
3e6e2902
...
@@ -2,4 +2,4 @@ dump_borrowck_info=false
...
@@ -2,4 +2,4 @@ dump_borrowck_info=false
output_dir
=
"./output"
output_dir
=
"./output"
log_dir
=
"./log"
log_dir
=
"./log"
shims
=
"rr_shims.json"
shims
=
"rr_shims.json"
run_check
=
tru
e
run_check
=
fals
e
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment