mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 18:06:46 +00:00
Add setup-qemu action (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
36c90bc3ab
commit
64d53ac2cf
14 changed files with 5770 additions and 0 deletions
36
.github/workflows/setup-qemu-ci.yml
vendored
Normal file
36
.github/workflows/setup-qemu-ci.yml
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
name: setup-qemu-ci
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- .github/workflows/setup-qemu-ci.yml
|
||||
- setup-qemu/**
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/setup-qemu-ci.yml
|
||||
- setup-qemu/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
qemu-version:
|
||||
- latest
|
||||
- 4.2.0-7
|
||||
steps:
|
||||
-
|
||||
name: Runner info
|
||||
run: |
|
||||
sudo apt-get install -y hwinfo
|
||||
sudo hwinfo --short
|
||||
sudo mount
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2.3.1
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: ./setup-qemu/
|
||||
with:
|
||||
qemu-version: ${{ matrix.qemu-version }}
|
32
.github/workflows/setup-qemu-precheckin.yml
vendored
Normal file
32
.github/workflows/setup-qemu-precheckin.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: setup-qemu-precheckin
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- .github/workflows/setup-qemu-precheckin.yml
|
||||
- setup-qemu/**
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/setup-qemu-precheckin.yml
|
||||
- setup-qemu/**
|
||||
|
||||
jobs:
|
||||
pre-checkin:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2.3.1
|
||||
-
|
||||
name: Install
|
||||
run: yarn --cwd ./setup-qemu/ install
|
||||
-
|
||||
name: Pre-checkin
|
||||
run: yarn --cwd ./setup-qemu/ run pre-checkin
|
||||
-
|
||||
name: Check for uncommitted changes
|
||||
run: |
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git status --porcelain
|
||||
echo "::warning::Found changes. Please run 'yarn --cwd ./setup-qemu/ run pre-checkin' and push"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue