1
0
镜像自地址 https://github.com/henrydcase/nobs.git 已同步 2024-11-26 00:51:22 +00:00

Run tests on ARM64 (#11)

这个提交包含在:
Henry Case 2019-02-16 21:29:20 +00:00 提交者 GitHub
父节点 90f8cba329
当前提交 b47a731959
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 24 次插入5 次删除

查看文件

@ -1,11 +1,24 @@
sudo: required
language: go
script:
- NOASM=0 make test
- NOASM=1 make test
- NOASM=0 make cover
- NOASM=1 make cover
matrix:
include:
- name: "Go on x86-64"
os: linux
script:
- make clean
- NOASM=0 make test
- NOASM=1 make test
- NOASM=0 make cover
- NOASM=1 make cover
- name: "Go on 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"
after_script:
- bash <(curl -s https://codecov.io/bash) -t 8a75b459-85b1-4e5d-aa12-4dd705914700

查看文件

@ -0,0 +1,6 @@
FROM multiarch/debian-debootstrap:arm64-buster-slim
RUN apt-get update -qq
USER root
RUN apt-get install -y make golang
RUN rm -rf /var/lib/apt/lists/*