-
Notifications
You must be signed in to change notification settings - Fork 9
71 lines (65 loc) · 2.21 KB
/
bsd.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# CI-*BSD platforms
#
# References:
# https://github.com/vmactions/freebsd-vm
# https://github.com/vmactions/openbsd-vm
# https://github.com/vmactions/netbsd-vm
#
name: "FreeOpenNetBSD builds"
on: [push, pull_request]
#https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}
cancel-in-progress: true
jobs:
# freebsd:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - name: FreeBSD
# uses: vmactions/freebsd-vm@v1
# with:
# usesh: true
# prepare: |
# pkg install -y bash gmake perl5 autoconf automake libtool pkgconf flex bison wget
# pkg install -y gettext libiconv libarchive curl ncurses expat liblz4 lzo2 zstd
# run: |
# ./configure
# cat acdefines.h
# gmake release
# Packages: see: https://cdn.openbsd.org/pub/OpenBSD/7.5/packages/amd64/
# openbsd:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - name: OpenBSD
# uses: vmactions/openbsd-vm@v1
# with:
# usesh: true
# prepare: |
# pkg_add bash gmake libtool pkgconf bison wget curl unzip-6.0p17
# pkg_add libiconv libarchive lz4 lzo2 zstd
# run: |
# ./configure
# cat acdefines.h
# gmake release
# Packages: see: https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/pkgtools/index.html
netbsd:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: NetBSD
uses: vmactions/netbsd-vm@v1
with:
usesh: true
prepare: |
/usr/sbin/pkg_add -v pkgin
pkgin update
pkgin -y install perl gcc11-*
pkgin -y install bash gmake libtool pkgconf bison byacc flex wget curl unzip
pkgin -y install ncurses libiconv libarchive enchant2 file enca lzma lz4 zstd
run: |
./configure
cat acdefines.h
gmake release
#end