Skip to content

Commit

Permalink
Add initial GitHub Actions CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Oct 3, 2019
1 parent 6a444e6 commit 5944d78
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 22 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: GitHub CI

on:

pull_request:

push:

schedule:
- cron: 0 0 * * 0

jobs:

build-test:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v1
with:
fetch-depth: 1

- name: Prepare Environment
run: docker system prune --all --force --volumes
- name: Happy Eyeballs
run: wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash

- name: Check Kernel Config
run: |
kernDups="$(files/kernel-config.d/.check-dups.sh)"
if [ -n "$kernDups" ]; then
echo >&2 "KERNEL CONFIG DUPLICATES!"
echo >&2 "$kernDups"
exit 1
fi
- name: Build ISO
run: |
set -Eeuo pipefail -x
docker build -t boot2docker/boot2docker .
docker run --rm boot2docker/boot2docker > boot2docker.iso
- name: '"ls"'
run: ls -lh boot2docker.iso

- name: '"docker images"'
run: docker images
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit 5944d78

Please sign in to comment.