Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Travis CI and replace with GitHub Actions #78

Merged
merged 6 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 0 additions & 189 deletions .github/workflows/build-cirros-bionic.yaml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/build-cirros.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: CirrOS image builder

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
cirros-build-matrix:
strategy:
matrix:
# i386, powerpc, and ppc64 will be dropped in CirrOS 0.6.x
arch: [aarch64, arm, i386, x86_64, powerpc, ppc64, ppc64le]

runs-on: ubuntu-20.04

env:
ARCHES: ${{ matrix.arch }}
BOOTTEST: "true"
QUIET: 1

steps:
- name: Pull cirros source artifacts
uses: actions/checkout@v3

- name: Cache download
uses: actions/cache@v3
with:
key: downloads-${{ matrix.arch }}-${{ hashFiles('bin/build-release') }}
path: download/

- name: Cache ccache
uses: actions/cache@v3
with:
key: ccache-${{ matrix.arch }}-${{ hashFiles('bin/build-release') }}
path: ccache/

- name: Prepare job environment
run: bin/system-setup

- name: Install job dependencies
run: sudo apt-get install cloud-utils qemu-system openbios-ppc

- name: Build cirros image
run: bin/build-release daily

- name: Upload build artifacts
NucciTheBoss marked this conversation as resolved.
Show resolved Hide resolved
uses: actions/upload-artifact@v3
with:
name: cirros-${{ matrix.arch }}
path: release/
Loading