Skip to content

Commit

Permalink
Check generated code in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-aws committed Nov 3, 2023
1 parent 77bf47d commit 534c258
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Source/DafnyRuntime/DafnyRuntimeGo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GENERATED_SYSTEM_MODULE_TARGET=System_/System_.go
GENERATED_STDLIBS_SOURCE=../obj/DafnyStandardLibraries-go/src
GENERATED_STDLIBS_TARGET=.

all: check-system-module test
all: check-system-module check-stdlibs test

test:
cd dafny && GO111MODULE=auto go test
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyRuntime/DafnyRuntimeJava/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GENERATED_DAFNY_MODULE_TARGET=src/main/dafny-generated/dafny
GENERATED_STDLIBS_SOURCE=../obj/DafnyStandardLibraries-java/DafnyStdLibs
GENERATED_STDLIBS_TARGET=src/main/dafny-generated/DafnyStdLibs

all: check-system-module test
all: check-system-module check-stdlibs test

test:
./gradlew test
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyRuntime/DafnyRuntimeJs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GENERATED_SYSTEM_MODULE_TARGET=DafnyRuntimeSystemModule.js
GENERATED_STDLIBS_SOURCE=obj/DafnyStandardLibraries.js
GENERATED_STDLIBS_TARGET=DafnyStandardLibraries.js

all: check-system-module
all: check-system-module check-stdlibs

build-system-module:
$(DAFNY) translate js --no-verify --use-basename-for-filename --system-module:OmitAllOtherModules ../systemModulePopulator.dfy --output:../obj/systemModulePopulator
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyRuntime/DafnyRuntimePython/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GENERATED_SYSTEM_MODULE_TARGET=System_.py
GENERATED_STDLIBS_SOURCE=../obj/DafnyStandardLibraries-py
GENERATED_STDLIBS_TARGET=.

all: check-system-module
all: check-system-module check-stdlibs

build-system-module:
$(DAFNY) translate py --no-verify --use-basename-for-filename --system-module:OmitAllOtherModules ../systemModulePopulator.dfy --output:../obj/systemModulePopulator
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyRuntime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GENERATED_SYSTEM_MODULE_TARGET=DafnyRuntimeSystemModule.cs
GENERATED_STDLIBS_SOURCE=obj/DafnyStandardLibraries.cs
GENERATED_STDLIBS_TARGET=DafnyStandardLibraries.cs

all: check-system-module
all: check-system-module check-stdlibs

build-system-module:
$(DAFNY) translate cs --no-verify --use-basename-for-filename --optimize-erasable-datatype-wrapper:false --system-module:OmitAllOtherModules systemModulePopulator.dfy --output:obj/systemModulePopulator
Expand Down

0 comments on commit 534c258

Please sign in to comment.