commit
cb9572ee57
58
.github/workflows/nightly.yml
vendored
58
.github/workflows/nightly.yml
vendored
@ -11,19 +11,24 @@ jobs:
|
|||||||
name: Linux
|
name: Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: src/github.com/containerd/containerd
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- uses: actions/setup-go@v1
|
||||||
uses: actions/setup-go@v1
|
|
||||||
with:
|
with:
|
||||||
go-version: '1.15.2'
|
go-version: '1.15.2'
|
||||||
|
|
||||||
- name: Checkout
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v1
|
|
||||||
env:
|
|
||||||
GOPATH: ${{ runner.workspace }}
|
|
||||||
GO111MODULE: off
|
|
||||||
with:
|
with:
|
||||||
path: ./src/github.com/containerd/containerd
|
path: src/github.com/containerd/containerd
|
||||||
|
|
||||||
|
- name: Set env
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "::set-env name=GOPATH::${{ github.workspace }}"
|
||||||
|
echo "::add-path::${{ github.workspace }}/bin"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build
|
# Build
|
||||||
@ -51,7 +56,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build amd64
|
- name: Build amd64
|
||||||
env:
|
env:
|
||||||
GOPATH: ${{ runner.workspace }}
|
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
run: |
|
run: |
|
||||||
@ -60,7 +64,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build arm64
|
- name: Build arm64
|
||||||
env:
|
env:
|
||||||
GOPATH: ${{ runner.workspace }}
|
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: arm64
|
GOARCH: arm64
|
||||||
CC: aarch64-linux-gnu-gcc
|
CC: aarch64-linux-gnu-gcc
|
||||||
@ -71,7 +74,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build s390x
|
- name: Build s390x
|
||||||
env:
|
env:
|
||||||
GOPATH: ${{ runner.workspace }}
|
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: s390x
|
GOARCH: s390x
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
@ -82,7 +84,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build ppc64le
|
- name: Build ppc64le
|
||||||
env:
|
env:
|
||||||
GOPATH: ${{ runner.workspace }}
|
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: ppc64le
|
GOARCH: ppc64le
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
@ -99,46 +100,51 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux_amd64
|
name: linux_amd64
|
||||||
path: bin_amd64
|
path: src/github.com/containerd/containerd/bin_amd64
|
||||||
|
|
||||||
- name: Upload artifacts (linux_arm64)
|
- name: Upload artifacts (linux_arm64)
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux_arm64
|
name: linux_arm64
|
||||||
path: bin_arm64
|
path: src/github.com/containerd/containerd/bin_arm64
|
||||||
|
|
||||||
- name: Upload artifacts (linux_s390x)
|
- name: Upload artifacts (linux_s390x)
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux_s390x
|
name: linux_s390x
|
||||||
path: bin_s390x
|
path: src/github.com/containerd/containerd/bin_s390x
|
||||||
|
|
||||||
- name: Upload artifacts (linux_ppc64le)
|
- name: Upload artifacts (linux_ppc64le)
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux_ppc64le
|
name: linux_ppc64le
|
||||||
path: bin_ppc64le
|
path: src/github.com/containerd/containerd/bin_ppc64le
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
name: Windows
|
name: Windows
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: src/github.com/containerd/containerd
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- uses: actions/setup-go@v1
|
||||||
uses: actions/setup-go@v1
|
|
||||||
with:
|
with:
|
||||||
go-version: '1.15.2'
|
go-version: '1.15.2'
|
||||||
|
|
||||||
- name: Checkout
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v1
|
|
||||||
env:
|
|
||||||
GOPATH: ${{ runner.workspace }}
|
|
||||||
GO111MODULE: off
|
|
||||||
with:
|
with:
|
||||||
path: ./src/github.com/containerd/containerd
|
path: src/github.com/containerd/containerd
|
||||||
|
|
||||||
|
- name: Set env
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "::set-env name=GOPATH::${{ github.workspace }}"
|
||||||
|
echo "::add-path::${{ github.workspace }}/bin"
|
||||||
|
|
||||||
- name: Build amd64
|
- name: Build amd64
|
||||||
env:
|
env:
|
||||||
GOPATH: ${{ runner.workspace }}
|
|
||||||
GOOS: windows
|
GOOS: windows
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
run: |
|
run: |
|
||||||
@ -148,4 +154,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: windows_amd64
|
name: windows_amd64
|
||||||
path: bin
|
path: src/github.com/containerd/containerd/bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user