File tree Expand file tree Collapse file tree 7 files changed +178
-2
lines changed
Expand file tree Collapse file tree 7 files changed +178
-2
lines changed Original file line number Diff line number Diff line change 1+ name : DragonflyBSD
2+
3+ on :
4+ pull_request :
5+ push :
6+ release :
7+ types : [published]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ concurrency :
15+ group : ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-DragonflyBSD
16+ cancel-in-progress : true
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ submodules : true
21+
22+ - name : Tests
23+ id : test
24+ uses : vmactions/dragonflybsd-vm@v1
25+ with :
26+ usesh : true
27+ prepare : |
28+ pkg install -y socat git gmake bash
29+ run : |
30+ cd $GITHUB_WORKSPACE
31+ ./configure
32+ gmake -j4
33+ gmake run
34+
Original file line number Diff line number Diff line change 1+ name : FreeBSD
2+
3+ on :
4+ pull_request :
5+ push :
6+ release :
7+ types : [published]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ concurrency :
15+ group : ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-FreeBSD
16+ cancel-in-progress : true
17+ steps :
18+ - uses : actions/checkout@v2
19+ with :
20+ submodules : true
21+
22+ - name : Tests
23+ uses : vmactions/freebsd-vm@v1
24+ with :
25+ usesh : true
26+ mem : 4096
27+ copyback : false
28+ prepare : pkg install -y git curl unzip gmake llvm gsed bash perl5
29+ run : |
30+ ./configure
31+ gmake -j4
32+ gmake run
33+
Original file line number Diff line number Diff line change 1+ name : NetBSD
2+
3+ on :
4+ pull_request :
5+ push :
6+ release :
7+ types : [published]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ concurrency :
15+ group : ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-NetBSD
16+ cancel-in-progress : true
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ submodules : true
21+
22+ - name : Tests
23+ id : test
24+ uses : vmactions/netbsd-vm@v1
25+ with :
26+ usesh : true
27+ prepare : |
28+ /usr/sbin/pkg_add curl bash git gmake
29+ run : |
30+ cd $GITHUB_WORKSPACE
31+ ./configure
32+ gmake -j4
33+ gmake run
34+
Original file line number Diff line number Diff line change 1+ name : OpenBSD
2+
3+ on :
4+ pull_request :
5+ push :
6+ release :
7+ types : [published]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ concurrency :
15+ group : ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-OpenBSD
16+ cancel-in-progress : true
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ submodules : true
21+
22+ - name : Tests
23+ id : test
24+ uses : vmactions/openbsd-vm@v1
25+ with :
26+ usesh : true
27+ prepare : |
28+ pkg_add curl git gmake bash gcc
29+ ln -sf /usr/local/bin/gmake /usr/local/bin/make || true
30+ run : |
31+ cd $GITHUB_WORKSPACE
32+ ./configure
33+ gmake -j4
34+ gmake run
35+
Original file line number Diff line number Diff line change 1+ name : Solaris
2+
3+ on :
4+ pull_request :
5+ push :
6+ release :
7+ types : [published]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ concurrency :
15+ group : ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Solaris
16+ cancel-in-progress : true
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ submodules : true
21+
22+ - name : Tests
23+ id : test
24+ uses : vmactions/solaris-vm@v1
25+ with :
26+ usesh : true
27+ prepare : |
28+ pkgutil -y -i socat git gmake bash gcc4g++ || pkgutil -y -i socat git gmake bash gcc5g++ || pkg install -y developer/gcc || true
29+ run : |
30+ cd $GITHUB_WORKSPACE
31+ bash ./configure
32+ gmake -j4
33+ gmake run
34+
Original file line number Diff line number Diff line change @@ -687,7 +687,11 @@ case "${os_host}" in
687687 * darwin* ) os_host=" macosx" ;;
688688 * linux* ) os_host=" linux" ;;
689689 * freebsd* ) os_host=" freebsd" ;;
690+ * netbsd* ) os_host=" netbsd" ;;
691+ * openbsd* ) os_host=" openbsd" ;;
692+ * dragonfly* ) os_host=" dragonflybsd" ;;
690693 * bsd* ) os_host=" bsd" ;;
694+ * sunos* ) os_host=" solaris" ;;
691695 * haiku* ) os_host=" haiku" ;;
692696esac
693697
724728_target_plat_default=${os_host}
725729if is_host " msys" ; then
726730 _target_plat_default=" mingw"
727- elif is_host " freebsd" ; then
731+ elif is_host " freebsd" " openbsd " " dragonflybsd " " netbsd " ; then
728732 _target_plat_default=" bsd"
729733elif test_nz " ${EMSDK} " ; then
730734 _target_plat_default=" wasm"
@@ -756,7 +760,7 @@ _target_mode_default="release"
756760_target_kind_default=" static"
757761
758762# set the default project generator and build program
759- if is_host " freebsd" " bsd" ; then
763+ if is_host " freebsd" " netbsd " " openbsd " " dragonflybsd " " bsd" " solaris " ; then
760764 project_generator=" gmake"
761765 _make_program_default=" gmake"
762766 _ninja_program_default=" ninja"
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ if is_plat "mingw" "msys" "cygwin"; then
3737 add_syslinks " ws2_32" " pthread" " m"
3838elif is_plat " haiku" ; then
3939 add_syslinks " pthread" " network" " m" " c"
40+ elif is_plat " bsd" " solaris" ; then
41+ add_syslinks " pthread" " m"
4042else
4143 add_syslinks " pthread" " dl" " m" " c"
4244fi
You can’t perform that action at this time.
0 commit comments