-
Notifications
You must be signed in to change notification settings - Fork 1.4k
54 lines (49 loc) · 1.38 KB
/
Copy pathbsd.yml
File metadata and controls
54 lines (49 loc) · 1.38 KB
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
name: asio CI for BSD
on:
push:
branches: [ master, citest-* ]
workflow_dispatch:
concurrency:
group: bsd-${{ github.ref }}
cancel-in-progress: true
jobs:
bsd:
runs-on: ubuntu-latest
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- { os: freebsd, version: '14.3' }
- { os: openbsd, version: '7.9' }
- { os: netbsd, version: '10.1' }
name: ${{ matrix.os }} ${{ matrix.version }}
steps:
- uses: actions/checkout@v4
- name: Start ${{ matrix.os }} ${{ matrix.version }} VM
uses: cross-platform-actions/action@v1.3.0
with:
operating_system: ${{ matrix.os }}
version: ${{ matrix.version }}
- name: Build and test
shell: cpa.sh {0}
run: |
set -e
case "$(uname)" in
FreeBSD)
sudo pkg install -y autoconf automake pkgconf
;;
OpenBSD)
sudo pkg_add -I autoconf%2.71 automake%1.16 pkgconf
export AUTOCONF_VERSION=2.71
export AUTOMAKE_VERSION=1.16
;;
NetBSD)
sudo pkgin -y install autoconf automake pkgconf
;;
esac
export CXXFLAGS="-std=c++14 -Wall -Wextra -O2"
./autogen.sh
./configure --with-boost=no
make
make check