Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ task:
only_if: $CIRRUS_BRANCH == "main" || $CIRRUS_PR != ""

matrix:
- name: FreeBSD
freebsd_instance:
image_family: freebsd-15-0-snap
install_script: pkg upgrade -y && pkg install -y base64 cmake json-c openssl pkgconf scrypt vim && sudo python3 -m ensurepip && sudo python3 -m pip install pexpect pytest
test_script: uname -sr && python3 --version && mkdir build && cd build && cmake -DENABLE_GUI=OFF .. && cmake --build . && cmake --build . -- check && sudo cmake --build . -- install

- name: Linux, GCC, no GTK
container:
image: gcc:15.1
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Github Actions CI
permissions: {}
on:
pull_request:
branches:
- main
jobs:
freebsd15:
name: FreeBSD 15.0
runs-on: ubuntu-24.04
steps:
- uses: vmactions/freebsd-vm@7ca82f79fe3078fecded6d3a2bff094995447bbd
with:
sync: no
release: "15.0"
usesh: true
run: |
set -e
set -o pipefail
set -u
set -x
uname -rms
pkg install -y base64 cmake git json-c openssl pkgconf python3 py311-pexpect py311-pytest scrypt vim
python3 --version
git clone --no-checkout -- ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} wd
cd wd
git fetch -- origin ${{ github.event.pull_request.head.sha }}
git checkout FETCH_HEAD
export CFLAGS="-Werror -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize-recover=address,undefined"
export UBSAN_OPTIONS=print_stacktrace=1
cmake -DENABLE_GUI=OFF -B build -S .
cmake --build build
cmake --build build --target check
cmake --install build