remove arm attempt for now

This commit is contained in:
Jay Lee
2020-12-14 14:29:46 +00:00
parent 2e3195c5ee
commit 24cb225381

View File

@@ -41,16 +41,6 @@ jobs:
goal: "build"
gamos: "linux"
platform: "x86_64"
- os: "ubuntu-18.04"
arch: "aarch64"
distro: "stretch"
gamos: "linux"
platform: "aarch64"
- os: "ubuntu-18.04"
arch: "armv6"
distro: "jessie"
gamos: "linux"
platform: "armv6"
- os: macos-10.15
jid: 4
goal: "build"
@@ -95,58 +85,6 @@ jobs:
persist-credentials: false
fetch-depth: 0
- uses: uraimo/run-on-arch-action@v2.0.5
if: matrix.platform == 'armv6' || matrix.platform == 'aarch64'
name: Build artifact
id: build
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
# Not required, but speeds up builds
githubToken: ${{ github.token }}
# Create an artifacts directory
setup: |
mkdir -p "${PWD}/artifacts"
# Mount the artifacts directory as /artifacts in the container
dockerRunArgs: |
--volume "${PWD}/artifacts:/artifacts"
# Pass some environment variables to the container
env: | # YAML, but pipe character is necessary
artifact_name: git-${{ matrix.distro }}_${{ matrix.arch }}
# The shell to run commands with in the container
shell: /bin/sh
# Install some dependencies in the container. This speeds up builds if
# you are also using githubToken. Any dependencies installed here will
# be part of the container image that gets cached, so subsequent
# builds don't have to re-install them. The image layer is cached
# publicly in your project's package repository, so it is vital that
# no secrets are present in the container state or logs.
install: |
case "${{ matrix.distro }}" in
ubuntu*|jessie|stretch|buster)
apt-get update -q -y
apt-get install -q -y git
;;
fedora*)
dnf -y update
dnf -y install git which
;;
alpine*)
apk update
apk add git
;;
esac
# Produce a binary artifact and place it in the mounted volume
run: |
uname -a
- name: Cache multiple paths
uses: actions/cache@v2
if: matrix.goal != 'test'