Skip to content

Commit 83efb17

Browse files
committed
perf: Add a KVM FreeBSD build on cirrus ci.
1 parent a927183 commit 83efb17

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

.cirrus.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ bazel-opt_task:
99
- /src/workspace/tools/inject-repo c-toxcore
1010
test_all_script:
1111
- cd /src/workspace && bazel test -k
12-
--config=ci
12+
--config=remote
1313
--build_tag_filters=-haskell
1414
--test_tag_filters=-haskell
1515
--
@@ -26,7 +26,7 @@ bazel-dbg_task:
2626
- /src/workspace/tools/inject-repo c-toxcore
2727
test_all_script:
2828
- cd /src/workspace && bazel test -k
29-
--config=ci
29+
--config=remote
3030
--build_tag_filters=-haskell
3131
--test_tag_filters=-haskell
3232
--
@@ -43,8 +43,19 @@ cimple_task:
4343
- /src/workspace/tools/inject-repo c-toxcore
4444
test_all_script:
4545
- cd /src/workspace && bazel test -k
46-
--config=ci
4746
--build_tag_filters=haskell
4847
--test_tag_filters=haskell
4948
--
5049
//c-toxcore/...
50+
51+
freebsd_task:
52+
container:
53+
image: toxchat/freebsd:latest
54+
cpu: 2
55+
memory: 4G
56+
kvm: true
57+
configure_script:
58+
- git submodule update --init --recursive
59+
- cd .. && mv cirrus-ci-build /work/c-toxcore && mkdir cirrus-ci-build
60+
test_all_script:
61+
- cd /work/c-toxcore && .github/scripts/cmake-freebsd

.github/workflows/ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,6 @@ jobs:
100100
with:
101101
file: other/docker/alpine-s390x/Dockerfile
102102

103-
build-freebsd:
104-
runs-on: ubuntu-latest
105-
steps:
106-
- name: Set up Docker Buildx
107-
uses: docker/setup-buildx-action@v1
108-
- name: Docker Build
109-
uses: docker/build-push-action@v2
110-
with:
111-
file: other/docker/freebsd/Dockerfile
112-
113103
cimplefmt:
114104
runs-on: ubuntu-latest
115105
steps:

0 commit comments

Comments
 (0)