mirror of
https://github.com/gulrak/filesystem.git
synced 2026-09-14 14:52:15 +08:00
Merge 1f00820e288bdf2e5e9b6b644849b839485451af into 2b4d7f239e0e749315fca1de7b2cf7438cf94a9a
This commit is contained in:
commit
78f1db7239
31
.github/workflows/build_freebsd.yml
vendored
Normal file
31
.github/workflows/build_freebsd.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: FreeBSD
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
||||
freebsd:
|
||||
name: FreeBSD 14
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- name: Build and test
|
||||
uses: vmactions/freebsd-vm@v1
|
||||
with:
|
||||
release: '14'
|
||||
usesh: true
|
||||
copyback: false
|
||||
cache-after-prepare: true
|
||||
prepare: pkg install -y cmake
|
||||
run: |
|
||||
set -e
|
||||
set -u
|
||||
set -x
|
||||
# Same as .cirrus.yml did: the suite must not run as root, or the
|
||||
# permission tests never see the errors they check for.
|
||||
pw groupadd testgrp
|
||||
pw useradd testuser -g testgrp -w none -m
|
||||
chown -R testuser:testgrp .
|
||||
wd=$(pwd)
|
||||
su -l testuser -c "cd $wd && sh .ci/unix-build.sh"
|
||||
su -l testuser -c "cd $wd && sh .ci/unix-test.sh"
|
||||
Loading…
x
Reference in New Issue
Block a user