mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* tests: add test details * tests: fix typos in spread test details Co-authored-by: Sergio Cazzolato <sergiocazzolato@gmail.com> --------- Co-authored-by: Sergio Cazzolato <sergiocazzolato@gmail.com>
14 lines
470 B
YAML
14 lines
470 B
YAML
summary: Check that snapd can be built without cgo
|
|
|
|
details: |
|
|
This test builds snapd with CGO_ENABLED=0 and checks that the resulting
|
|
binary is not a dynamic executable.
|
|
|
|
# debian-sid uses a different packaging with quilt patches applied on top
|
|
# of the verbatim tree
|
|
systems: [-ubuntu-core-*, -debian-sid-*]
|
|
|
|
execute: |
|
|
CGO_ENABLED=0 go build -o snapd.static github.com/snapcore/snapd/cmd/snapd
|
|
ldd snapd.static 2>&1 | MATCH 'not a dynamic executable'
|