Skip to content

Commit

Permalink
perf: Add a KVM FreeBSD build on cirrus ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Nov 22, 2023
1 parent a927183 commit 83efb17
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
17 changes: 14 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bazel-opt_task:
- /src/workspace/tools/inject-repo c-toxcore
test_all_script:
- cd /src/workspace && bazel test -k
--config=ci
--config=remote
--build_tag_filters=-haskell
--test_tag_filters=-haskell
--
Expand All @@ -26,7 +26,7 @@ bazel-dbg_task:
- /src/workspace/tools/inject-repo c-toxcore
test_all_script:
- cd /src/workspace && bazel test -k
--config=ci
--config=remote
--build_tag_filters=-haskell
--test_tag_filters=-haskell
--
Expand All @@ -43,8 +43,19 @@ cimple_task:
- /src/workspace/tools/inject-repo c-toxcore
test_all_script:
- cd /src/workspace && bazel test -k
--config=ci
--build_tag_filters=haskell
--test_tag_filters=haskell
--
//c-toxcore/...

freebsd_task:
container:
image: toxchat/freebsd:latest
cpu: 2
memory: 4G
kvm: true
configure_script:
- git submodule update --init --recursive
- cd .. && mv cirrus-ci-build /work/c-toxcore && mkdir cirrus-ci-build
test_all_script:
- cd /work/c-toxcore && .github/scripts/cmake-freebsd
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,6 @@ jobs:
with:
file: other/docker/alpine-s390x/Dockerfile

build-freebsd:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Docker Build
uses: docker/build-push-action@v2
with:
file: other/docker/freebsd/Dockerfile

cimplefmt:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 83efb17

Please sign in to comment.