Skip to content

workflow: add workflow permission for freebsd.yml #394

workflow: add workflow permission for freebsd.yml

workflow: add workflow permission for freebsd.yml #394

Workflow file for this run

name: freebsd
on:
push:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/freebsd.yml'
pull_request:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/freebsd.yml'
permissions: read

Check failure on line 13 in .github/workflows/freebsd.yml

View workflow run for this annotation

GitHub Actions / freebsd

Invalid workflow file

The workflow is not valid. .github/workflows/freebsd.yml (Line: 13, Col: 14): Unexpected value 'read'
jobs:
freebsd:
runs-on: ubuntu-latest
steps:
- name: checkout libva
uses: actions/checkout@v4
with:
repository: intel/libva
path: libva
- name: checkout libva-utils
uses: actions/checkout@v4
with:
path: libva-utils
- name: test
uses: vmactions/freebsd-vm@v1
with:
prepare: |
pkg install -y meson pkgconf libdrm libXext libXfixes wayland
pkg install -y -x '^mesa($|-libs)'
run: |
cd libva
meson setup _build --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
meson compile -C _build
meson install -C _build
cd ../libva-utils
meson setup _build --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
meson compile -C _build
meson install -C _build