Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Commit 5944d78

Browse files
committed
Add initial GitHub Actions CI workflow
1 parent 6a444e6 commit 5944d78

2 files changed

Lines changed: 48 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: GitHub CI
2+
3+
on:
4+
5+
pull_request:
6+
7+
push:
8+
9+
schedule:
10+
- cron: 0 0 * * 0
11+
12+
jobs:
13+
14+
build-test:
15+
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
20+
- uses: actions/checkout@v1
21+
with:
22+
fetch-depth: 1
23+
24+
- name: Prepare Environment
25+
run: docker system prune --all --force --volumes
26+
- name: Happy Eyeballs
27+
run: wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
28+
29+
- name: Check Kernel Config
30+
run: |
31+
kernDups="$(files/kernel-config.d/.check-dups.sh)"
32+
if [ -n "$kernDups" ]; then
33+
echo >&2 "KERNEL CONFIG DUPLICATES!"
34+
echo >&2 "$kernDups"
35+
exit 1
36+
fi
37+
38+
- name: Build ISO
39+
run: |
40+
set -Eeuo pipefail -x
41+
docker build -t boot2docker/boot2docker .
42+
docker run --rm boot2docker/boot2docker > boot2docker.iso
43+
44+
- name: '"ls"'
45+
run: ls -lh boot2docker.iso
46+
47+
- name: '"docker images"'
48+
run: docker images

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)