Skip to content

Commit 733be95

Browse files
committed
arch/mips: add test script for mips arch in docker to test go-udev
1 parent a3c2a7a commit 733be95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test_mips.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
cd $(dirname $0) || exit 1
4+
GO_UDEV="go-udev-mips64"
5+
GOOS=linux GOARCH=mips64 go build -o ${GO_UDEV}
6+
chmod +x ./${GO_UDEV}
7+
docker run -it --rm -v "$PWD:$PWD" -w $PWD dockcross/linux-mips ./${GO_UDEV} -info
8+

0 commit comments

Comments
 (0)