Skip to content

Next

Next #6

Workflow file for this run

name: Build Linux
on:
push:
jobs:
build-linux-kernel:
outputs:
linux-kernel-url: ${{ steps.build.outputs.linux-kernel-url }}
steps:
- id: build
uses: ./.github/workflows/build-linux.yml
secrets: inherit

Check failure on line 13 in .github/workflows/test-kernel.yml

View workflow run for this annotation

GitHub Actions / Build Linux

Invalid workflow file

The workflow is not valid. .github/workflows/test-kernel.yml (Line: 13, Col: 9): Unexpected value 'secrets' .github/workflows/test-kernel.yml (Line: 8, Col: 5): Required property is missing: runs-on
test:
needs: [build-linux-kernel]
name: Test and coverage
runs-on: ubuntu-22.04
env:
LLVM_GSYMUTIL: /usr/bin/llvm-gsymutil-14
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v5
id: py312
with:
python-version: '3.12'
- name: Install required tools
run: sudo apt-get install -y llvm-14
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Build main.sh
env:
PYTHON: ${{ steps.py312.outputs.python-path }}
run: |
cat <<EOF > main.sh
export PYTHON=${PYTHON}
exec cargo test --workspace --all-targets --features=nightly,generate-large-test-files -- --include-ignored
EOF
chmod a+x main.sh
- name: Test
uses: danobi/vmtest-action@v0.6
with:
kernel_url: ${{ jobs.build-linux-kernel.outputs.linux-kernel-url }}
command: "/bin/bash -c ${{ github.workspace }}/main.sh"