From 086f31bff9b3eb5eb11b8607e99f66aea73897db Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sun, 7 Mar 2021 16:43:22 +0000 Subject: [PATCH] WIP: CI: add linuxmusl-arm64v8 --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0020d9cf7..166580116 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,5 +58,27 @@ jobs: install: sudo docker exec sharp sh -c "npm install --build-from-source --unsafe-perm" script: sudo docker exec sharp sh -c "npm test" + - name: "Linux ARM64v8 (Alpine 3.11, musl 1.1.24) - Node.js 10" + arch: arm64 + os: linux + dist: focal + language: shell + before_install: + - sudo docker run -dit --name sharp --volume "${PWD}:/mnt/sharp" --workdir /mnt/sharp node:10-alpine3.11 + - sudo docker exec sharp sh -c "apk add build-base git python3 --update-cache" + install: sudo docker exec sharp sh -c "npm install --build-from-source --unsafe-perm" + script: sudo docker exec sharp sh -c "npm test" + + - name: "Linux ARM64v8 (Alpine 3.13, musl 1.2.2) - Node.js 14" + arch: arm64 + os: linux + dist: focal + language: shell + before_install: + - sudo docker run -dit --name sharp --volume "${PWD}:/mnt/sharp" --workdir /mnt/sharp node:14-alpine3.13 + - sudo docker exec sharp sh -c "apk add build-base git python3 --update-cache" + install: sudo docker exec sharp sh -c "npm install --build-from-source --unsafe-perm" + script: sudo docker exec sharp sh -c "npm test" + cache: npm: false