Skip to content

Commit

Permalink
arch/mips: add test script for mips arch in docker to test go-udev
Browse files Browse the repository at this point in the history
  • Loading branch information
pilebones committed Feb 17, 2022
1 parent a3c2a7a commit 733be95
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test_mips.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

cd $(dirname $0) || exit 1
GO_UDEV="go-udev-mips64"
GOOS=linux GOARCH=mips64 go build -o ${GO_UDEV}
chmod +x ./${GO_UDEV}
docker run -it --rm -v "$PWD:$PWD" -w $PWD dockcross/linux-mips ./${GO_UDEV} -info

0 comments on commit 733be95

Please sign in to comment.