forked from libre-chip/fayalite
Compare commits
No commits in common. "run-rocq-tests" and "master" have entirely different histories.
run-rocq-t
...
master
5 changed files with 1 additions and 46 deletions
|
|
@ -17,7 +17,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/master' }}
|
save-if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
- run: rustup override set 1.93.0
|
- run: rustup override set 1.93.0
|
||||||
- run: make -C rocq-demo
|
|
||||||
- run: cargo test
|
- run: cargo test
|
||||||
- run: cargo build --tests --features=unstable-doc
|
- run: cargo build --tests --features=unstable-doc
|
||||||
- run: cargo test --doc --features=unstable-doc
|
- run: cargo test --doc --features=unstable-doc
|
||||||
|
|
|
||||||
8
rocq-demo/.gitignore
vendored
8
rocq-demo/.gitignore
vendored
|
|
@ -1,8 +0,0 @@
|
||||||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
||||||
# See Notices.txt for copyright information
|
|
||||||
.CoqMakefile.d
|
|
||||||
*.aux
|
|
||||||
CoqMakefile
|
|
||||||
CoqMakefile.conf
|
|
||||||
*.glob
|
|
||||||
*.vo*
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
||||||
# See Notices.txt for copyright information
|
|
||||||
#
|
|
||||||
# Example Makefile wrapper as given on the Rocq documentation
|
|
||||||
# https://rocq-prover.org/doc/V9.1.0/refman/practical-tools/utilities.html#building-a-rocq-project-with-rocq-makefile-details
|
|
||||||
|
|
||||||
# KNOWNTARGETS will not be passed along to CoqMakefile
|
|
||||||
KNOWNTARGETS := CoqMakefile
|
|
||||||
# KNOWNFILES will not get implicit targets from the final rule, and so
|
|
||||||
# depending on them won't invoke the submake
|
|
||||||
# Warning: These files get declared as PHONY, so any targets depending
|
|
||||||
# on them always get rebuilt
|
|
||||||
KNOWNFILES := Makefile _CoqProject
|
|
||||||
|
|
||||||
.DEFAULT_GOAL := invoke-coq-makefile
|
|
||||||
|
|
||||||
CoqMakefile: Makefile _CoqProject
|
|
||||||
$(COQBIN)rocq makefile -f _CoqProject -o CoqMakefile
|
|
||||||
|
|
||||||
invoke-coq-makefile: CoqMakefile
|
|
||||||
$(MAKE) --no-print-directory -f CoqMakefile $(filter-out $(KNOWNTARGETS),$(MAKECMDGOALS))
|
|
||||||
|
|
||||||
.PHONY: invoke-coq-makefile $(KNOWNFILES)
|
|
||||||
|
|
||||||
####################################################################
|
|
||||||
## Your targets here ##
|
|
||||||
####################################################################
|
|
||||||
|
|
||||||
# This should be the last rule, to handle any targets not declared above
|
|
||||||
%: invoke-coq-makefile
|
|
||||||
@true
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
||||||
# See Notices.txt for copyright information
|
|
||||||
|
|
||||||
-Q . RocqDemo
|
|
||||||
.
|
|
||||||
|
|
@ -50,7 +50,7 @@ function main()
|
||||||
/crates/fayalite/tests/ui/*.stderr|/crates/fayalite/tests/sim/expected/*.vcd|/crates/fayalite/tests/sim/expected/*.txt)
|
/crates/fayalite/tests/ui/*.stderr|/crates/fayalite/tests/sim/expected/*.vcd|/crates/fayalite/tests/sim/expected/*.txt)
|
||||||
# file that can't contain copyright header
|
# file that can't contain copyright header
|
||||||
;;
|
;;
|
||||||
/.forgejo/workflows/*.yml|*/.gitignore|*.toml|*/Makefile|*/_CoqProject)
|
/.forgejo/workflows/*.yml|*/.gitignore|*.toml)
|
||||||
check_file "$file" "${POUND_HEADER[@]}"
|
check_file "$file" "${POUND_HEADER[@]}"
|
||||||
;;
|
;;
|
||||||
*.md)
|
*.md)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue