Skip to content

Commit d7dd17b

Browse files
authored
Merge pull request #445 from intel/rdementi-freebsd-build-gh-action
add freebsd build gh actions
2 parents 88f2653 + 27e7ff9 commit d7dd17b

File tree

3 files changed

+71
-4
lines changed

3 files changed

+71
-4
lines changed

.github/workflows/freebsd_build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: FreeBSD build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-12
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: recursive
18+
- name: build in FreeBSD VM
19+
id: build
20+
uses: vmactions/freebsd-vm@v0
21+
with:
22+
usesh: true
23+
prepare: |
24+
pkg install -y curl gmake cmake
25+
26+
run: |
27+
pwd
28+
ls -lah
29+
whoami
30+
env
31+
freebsd-version
32+
cmake -B build -DCMAKE_INSTALL_PREFIX=.
33+
cd build && gmake install
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: FreeBSD clang-scan build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-12
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: recursive
18+
- name: clang scan build in FreeBSD VM
19+
id: clang-scan-build
20+
uses: vmactions/freebsd-vm@v0
21+
with:
22+
usesh: true
23+
prepare: |
24+
pkg install -y curl gmake cmake devel/llvm llvm
25+
26+
run: |
27+
pwd
28+
ls -lah
29+
whoami
30+
env
31+
freebsd-version
32+
scan-build cmake -B build -DCMAKE_INSTALL_PREFIX=.
33+
cd build
34+
scan-build --exclude src/simdjson --status-bugs gmake -j

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Processor Counter Monitor (PCM) is an application programming interface (API) an
1414
Current Build Status
1515
--------------------------------------------------------------------------------
1616

17-
- Linux: [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/intel/pcm/Linux%20make)](https://github.com/intel/pcm/actions/workflows/linux_make.yml?query=branch%3Amaster)
17+
- Linux: [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/intel/pcm/Linux%20make/master)](https://github.com/intel/pcm/actions/workflows/linux_make.yml?query=branch%3Amaster)
1818
- Windows: [![Build status](https://ci.appveyor.com/api/projects/status/github/intel/pcm?branch=master&svg=true)](https://ci.appveyor.com/project/opcm/pcm)
19-
- FreeBSD: [![Build Status](https://api.cirrus-ci.com/github/opcm/pcm.svg)](https://cirrus-ci.com/github/opcm/pcm)
20-
- OS X: [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/intel/pcm/Mac%20OS%20X%20build)](https://github.com/intel/pcm/actions/workflows/macosx_build.yml?query=branch%3Amaster)
21-
- Docker container: [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/intel/pcm/Docker%20Build)](doc/DOCKER_README.md)
19+
- FreeBSD: [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/intel/pcm/FreeBSD%20build/master)](https://github.com/intel/pcm/actions/workflows/freebsd_build.yml?query=branch%3Amaster)
20+
- OS X: [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/intel/pcm/Mac%20OS%20X%20build/master)](https://github.com/intel/pcm/actions/workflows/macosx_build.yml?query=branch%3Amaster)
21+
- Docker container: [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/intel/pcm/Docker%20Build/master)](doc/DOCKER_README.md)
2222

2323
--------------------------------------------------------------------------------
2424
PCM Tools

0 commit comments

Comments
 (0)