mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cleanup binary_artifact.yml, remove failing build-linux-arm64 job
This commit is contained in:
parent
f8d6fe7a8b
commit
9aa84082fd
51
.github/workflows/binary_artifact.yml
vendored
51
.github/workflows/binary_artifact.yml
vendored
@ -7,16 +7,14 @@ on:
|
|||||||
- 0.**
|
- 0.**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
env:
|
||||||
matrix:
|
CC: gcc
|
||||||
compiler: [gcc]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Compile
|
- name: Compile
|
||||||
env:
|
|
||||||
CC: ${{ matrix.compiler }}
|
|
||||||
run: |
|
run: |
|
||||||
make -j4
|
make -j4
|
||||||
./v -cc $CC -o v -prod cmd/v
|
./v -cc $CC -o v -prod cmd/v
|
||||||
@ -38,50 +36,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: linux-binary
|
name: linux-binary
|
||||||
path: ./v
|
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:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
compiler: [clang]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Compile
|
- name: Compile
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.compiler }}
|
CC: clang
|
||||||
run: |
|
run: |
|
||||||
make -j4
|
make -j4
|
||||||
./v -cc $CC -o v -prod cmd/v
|
./v -cc $CC -o v -prod cmd/v
|
||||||
@ -103,6 +65,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: macos-binary
|
name: macos-binary
|
||||||
path: ./v
|
path: ./v
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
@ -157,7 +120,7 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [linux_arm64, linux, macos, windows]
|
version: [linux, macos, windows]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Fetch artifacts
|
- name: Fetch artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user