Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 600 Bytes

README.rst

File metadata and controls

18 lines (13 loc) · 600 Bytes

Cross compilation

Tests to ensure that cross compilation is working as expected.

Contents

Tests that cross compilation controlled by the goos and goarch attributes on a go_binary produces executables of the correct type. This builds binaries using main.go in multiple configurations, and then passes them as data to a test written in go. The test executes the unix command "file" on the binaries to determine their type, and checks they were built for the expected architecture.