-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
69 lines (65 loc) · 1.93 KB
/
freebsd_ci.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
name: CI FreeBSD
on:
workflow_dispatch:
push:
paths-ignore:
- '**.md'
- '**.yml'
- 'cmd/tools/**'
- '!**/freebsd_ci.yml'
- '!ci/freebsd_ci.vsh'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- 'cmd/tools/**'
- '!**/freebsd_ci.yml'
- '!ci/freebsd_ci.vsh'
- '!cmd/tools/builders/**.v'
### See https://github.com/vmactions/freebsd-vm
### for a description of the used fields here
jobs:
test-on-freebsd-14-2-x86:
runs-on: ubuntu-latest
name: Run a FreeBSD 14.2 x86 VM
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test-freebsd-14-2-runs-in-vm
uses: vmactions/freebsd-vm@v1
with:
release: '14.2'
mem: 4096
usesh: true
copyback: false
prepare: pkg install -y git sqlite3 bash
run: |
git config --global --add safe.directory /home/runner/work/v/v
make CFLAGS=
./v symlink
./v run ci/freebsd_ci.vsh all
##### Run a FreeBSD 14 x86 VM:
##### [ 2/25] C: 808.5 ms, R: 3.835 ms vlib/math/big/array_ops_test.v
##### Run a FreeBSD 15 ARM VM
##### [ 1/25] C: 15992.4 ms, R: 146.582 ms vlib/math/big/array_ops_test.v
##### => the overhead is too much to be practical for the full test suite.
##### It is still nice, that it works at all though ...
## test-on-freebsd-15-aarch64:
## runs-on: ubuntu-latest
## name: Run a FreeBSD 15 ARM VM
## steps:
## - uses: actions/checkout@v4
## - name: Test in FreeBSD
## id: test-freebsd-15-runs-in-vm
## uses: vmactions/freebsd-vm@v1
## with:
## release: "15.0"
## arch: aarch64
## ## cpu: 3
## mem: 4096
## usesh: true
## copyback: false
## prepare: pkg install -y git sqlite3 bash
## run: |
## ./.github/workflows/freebsd_ci.sh