mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
remove arm attempt for now
This commit is contained in:
62
.github/workflows/build.yml
vendored
62
.github/workflows/build.yml
vendored
@@ -41,16 +41,6 @@ jobs:
|
|||||||
goal: "build"
|
goal: "build"
|
||||||
gamos: "linux"
|
gamos: "linux"
|
||||||
platform: "x86_64"
|
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
|
- os: macos-10.15
|
||||||
jid: 4
|
jid: 4
|
||||||
goal: "build"
|
goal: "build"
|
||||||
@@ -95,58 +85,6 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
fetch-depth: 0
|
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
|
- name: Cache multiple paths
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
if: matrix.goal != 'test'
|
if: matrix.goal != 'test'
|
||||||
|
|||||||
Reference in New Issue
Block a user