Merge pull request #3827 from mxpv/nightly

containerd binaries nightly builds
This commit is contained in:
Michael Crosby 2019-11-14 11:14:13 -05:00 committed by GitHub
commit bc62a829ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

45
.github/workflows/nightly.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: Nightly
on:
schedule:
- cron: '0 0 * * *' # Every day at midnight
jobs:
binaries:
name: Binaries
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.12
- name: Checkout
uses: actions/checkout@v1
env:
GOPATH: ${{ runner.workspace }}
GO111MODULE: off
with:
path: ./src/github.com/containerd/containerd
- name: Ubuntu dependencies
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt-get install -y \
btrfs-tools \
libseccomp-dev
- name: Make
run: |
make binaries
env:
GOPATH: ${{ runner.workspace }}
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: ${{ matrix.os }}
path: bin