Skip to content

Update build.yml to fetch an x86 kernel from u-root CI #12

Update build.yml to fetch an x86 kernel from u-root CI

Update build.yml to fetch an x86 kernel from u-root CI #12

Workflow file for this run

name: u-root-buildcheck
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
template: [core, all, embedded, minimal]
arch: [amd64, arm, arm64, riscv64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: u-root/u-root
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build
run: |
go build .
GOARCH=${{ matrix.arch }} ./u-root -uroot-source . \
-o u-root-${{ matrix.arch }}-${{ matrix.template }}.cpio \
${{ matrix.template }}
go run github.com/hugelgupf/vmtest/tools/runvmtest@latest \
-- bash -c "cp \$VMTEST_KERNEL ./
kernel-x86_64"

Check failure on line 35 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 35