File: bsd.yml

package info (click to toggle)
libzip 1.11.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,652 kB
  • sloc: ansic: 17,309; sh: 85; perl: 55; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 827 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: BSD
on: [push]
permissions:
  contents: read
jobs:
  NetBSD:
    runs-on: ubuntu-latest
    steps:
    - name: checkout
      uses: actions/checkout@v4
    - name: NetBSD test
      uses: vmactions/netbsd-vm@v1
      with:
        usesh: true
        copyback: false
        prepare: |
          /usr/sbin/pkg_add cmake zstd py313-pip
          /usr/pkg/bin/pip-3.13 install nihtest
          # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
          echo "/usr/pkg/bin" >> "$GITHUB_PATH"
        run: |
          cmake -E make_directory ${{runner.workspace}}/build
          cmake ${{ matrix.cmake_extra }} ${{github.workspace}}
          cmake --build . --config Release
          ctest --output-on-failure -V -C Release