Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lempiji committed Apr 4, 2021
1 parent 30d3327 commit 4d2d8e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
cd ../mnist-conv
dub build --compiler=$DC -c build-only
cd ../vae
dub build --compiler=$DC
dub build --compiler=$DC -c build-only
cd ../likehood
dub build --compiler=$DC
10 changes: 8 additions & 2 deletions examples/vae/dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ license "MIT"
dependency "golem" path="../.."
dependency "imageformats" version="~>7.0.2"

postGenerateCommands "dub fetch data-mnist"
postGenerateCommands "dub run data-mnist"
configuration "application" {
postGenerateCommands "dub fetch data-mnist"
postGenerateCommands "dub run data-mnist"
}

configuration "build-only" {
targetType "executable"
}

0 comments on commit 4d2d8e7

Please sign in to comment.