cleanup binary_artifact.yml, remove failing build-linux-arm64 job

pull/11208/head weekly.2021.33.1
Delyan Angelov 2021-08-16 11:13:50 +03:00
parent f8d6fe7a8b
commit 9aa84082fd
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 141 additions and 178 deletions

View File

@ -7,16 +7,14 @@ on:
- 0.**
jobs:
build-linux:
runs-on: ubuntu-20.04
strategy:
matrix:
compiler: [gcc]
env:
CC: gcc
steps:
- uses: actions/checkout@v1
- name: Compile
env:
CC: ${{ matrix.compiler }}
run: |
make -j4
./v -cc $CC -o v -prod cmd/v
@ -38,50 +36,14 @@ jobs:
with:
name: linux-binary
path: ./v
build-linux-arm64:
runs-on: ubuntu-20.04
strategy:
matrix:
compiler: [gcc]
env:
img: quay.io/pypa/manylinux2014_aarch64
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
- name: Compile
env:
CC: ${{ matrix.compiler }}
run: |
docker run --platform=linux/arm64 --rm -v `pwd`:`pwd` -w `pwd` ${{ env.img }} /bin/bash -c "make -j4 && ./v -cc $CC -o v -prod cmd/v && ./v -prod cmd/tools/vup.v && ./v -prod cmd/tools/vdoctor.v"
- name: Create artifact
uses: actions/upload-artifact@v2
with:
name: linux_arm64
path: |
.
./cmd/tools/vup
./cmd/tools/vdoctor
!./.git
!./vc
!./v_old
- name: Create binary only artifact
uses: actions/upload-artifact@v2
with:
name: linux_arm64-binary
path: ./v
build-macos:
runs-on: macos-latest
strategy:
matrix:
compiler: [clang]
steps:
- uses: actions/checkout@v1
- name: Compile
env:
CC: ${{ matrix.compiler }}
CC: clang
run: |
make -j4
./v -cc $CC -o v -prod cmd/v
@ -103,6 +65,7 @@ jobs:
with:
name: macos-binary
path: ./v
build-windows:
runs-on: windows-latest
steps:
@ -157,7 +120,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
version: [linux_arm64, linux, macos, windows]
version: [linux, macos, windows]
steps:
- uses: actions/checkout@v1
- name: Fetch artifacts