mirror of
https://github.com/henrydcase/nobs.git
synced 2024-11-22 15:18:57 +00:00
CI on ARM32
This commit is contained in:
parent
b47a731959
commit
4c324f2937
12
.travis.yml
12
.travis.yml
@ -3,7 +3,7 @@ language: go
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- name: "Go on x86-64"
|
||||
- name: "x86-64"
|
||||
os: linux
|
||||
script:
|
||||
- make clean
|
||||
@ -11,14 +11,20 @@ matrix:
|
||||
- NOASM=1 make test
|
||||
- NOASM=0 make cover
|
||||
- NOASM=1 make cover
|
||||
- name: "Go on ARM64"
|
||||
- name: "ARM64"
|
||||
services: docker
|
||||
os: linux
|
||||
script:
|
||||
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-aarch64-go" /bin/bash -c "NOASM=0 make test"
|
||||
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-aarch64-go" /bin/bash -c "NOASM=1 make test"
|
||||
|
||||
- name: "ARM32"
|
||||
services: docker
|
||||
os: linux
|
||||
script:
|
||||
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-armv7-go" /bin/bash -c "NOASM=0 make test"
|
||||
- docker run --rm -v `pwd`:`pwd` -w `pwd` "flowher/debian-buster-armv7-go" /bin/bash -c "NOASM=1 make test"
|
||||
|
||||
after_script:
|
||||
- bash <(curl -s https://codecov.io/bash) -t 8a75b459-85b1-4e5d-aa12-4dd705914700
|
||||
|
6
etc/dockers/debian-buster-armv7/Dockerfile
Normal file
6
etc/dockers/debian-buster-armv7/Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM multiarch/debian-debootstrap:armhf-buster
|
||||
|
||||
RUN apt-get update -qq
|
||||
USER root
|
||||
RUN apt-get install -y make golang
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in New Issue
Block a user