-
Notifications
You must be signed in to change notification settings - Fork 35
28 lines (24 loc) · 998 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: CI
on:
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Run containerd-driver integration tests
run: |
# Remove older version of golang.
sudo rm -f /usr/bin/go
# Install golang-1.17
export PATH=$PATH:/usr/local/go/bin
curl -s -L -o go1.17.linux-amd64.tar.gz https://dl.google.com/go/go1.17.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.17.linux-amd64.tar.gz
sudo chmod +x /usr/local/go
rm -f go1.17.linux-amd64.tar.gz
mkdir -p /home/runner/go/src/github.com/Roblox
ln -s /home/runner/work/nomad-driver-containerd/nomad-driver-containerd /home/runner/go/src/github.com/Roblox/nomad-driver-containerd
cd /home/runner/go/src/github.com/Roblox/nomad-driver-containerd
make test