Skip to content

Commit 305473b

Browse files
committed
Add a simple CI
1 parent d09f1b3 commit 305473b

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: CI
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
push:
9+
branches:
10+
- main
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-24.04
15+
defaults:
16+
run:
17+
shell: cpa.sh {0}
18+
steps:
19+
- name: Repository checkout
20+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
21+
22+
- name: Start VM
23+
uses: cross-platform-actions/action@5ea7e8e4677bd726033a10b094ba1c5762b15dee # v1.3.0
24+
with:
25+
operating_system: freebsd
26+
version: '15.1'
27+
architecture: 'x86_64'
28+
- name: Run commands
29+
run: |
30+
sudo pkg install -y cmake-core
31+
sudo make install
32+
make test

0 commit comments

Comments
 (0)