ci: test executable's version subcmd
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a16bd3ef48
commit
7550acc8ab
@ -217,6 +217,25 @@ def main(ctx):
|
||||
"nix build .#go-xkcdreader"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "go-xkcdreader version",
|
||||
"image": "docker.io/nixos/nix:2.8.0-amd64",
|
||||
"pull": "if-not-exists",
|
||||
"depends_on": ["nix build"],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "nix",
|
||||
"path": "/nix"
|
||||
},
|
||||
{
|
||||
"name": "nixconf",
|
||||
"path": "/etc/nix"
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
"./result/bin/go-xkcdreader version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ldd",
|
||||
"image": "docker.io/nixos/nix:2.8.0-amd64",
|
||||
|
Loading…
Reference in New Issue
Block a user