Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add FreeBSD build tests for staged commits #1948

Closed
wants to merge 28 commits into from
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7cd4b0a
Initial status
kinkie Nov 4, 2024
45b311f
Force ubuntu version
kinkie Nov 4, 2024
626fa2e
test multiple freebsd versions
kinkie Nov 4, 2024
8a1356d
Speed development up: only test default layer
kinkie Nov 4, 2024
7285e22
Fix syntax
kinkie Nov 4, 2024
3a432fe
FreeBSD 12.4 EOLd by the project
kinkie Nov 4, 2024
32c0a66
specify matrix dimenion in uploaded artifacts
kinkie Nov 4, 2024
6979b08
Merge FreeBSD tests into slow.yaml
kinkie Nov 17, 2024
bd56e81
Merge remote-tracking branch 'upstream/master' into bsd-merge-tests
kinkie Nov 17, 2024
25f2cf5
freebsd: add ccache
kinkie Nov 17, 2024
cc23c00
try ccache with relative path
kinkie Nov 17, 2024
f3f7248
type ccache path
kinkie Nov 17, 2024
6ddd23c
quote CC and CXX definitions
kinkie Nov 17, 2024
f6fbcaf
test setup: skip linux and macos for now
kinkie Nov 17, 2024
3bc138e
Ccache is in /usr/local/bin
kinkie Nov 17, 2024
8f42e00
Ready for submission
kinkie Nov 18, 2024
1dcc91d
Remove openbsd
kinkie Nov 18, 2024
d1cf890
avoid unnecessary command in package install
kinkie Nov 18, 2024
4021851
Adopt suggestion from code review
kinkie Nov 18, 2024
317566f
Remove libxml2, not needed for trunk
kinkie Nov 19, 2024
8a8d8e2
experiment: remove -Wno-compound-token-split-by-macro flag
kinkie Nov 18, 2024
ee91e33
Use workflow env directive for env variables
kinkie Nov 18, 2024
30023e0
Environment variables are not propagated inside the VM
kinkie Nov 19, 2024
5ec8fe8
add translate-toolkit
kinkie Nov 19, 2024
4593fd9
Specify layers to be tested
kinkie Nov 19, 2024
e3ab17c
Ccache is useless inside the vm
kinkie Nov 19, 2024
c814258
revert tested layers selection
kinkie Nov 20, 2024
93174c7
do not explicitly mention we are testing on clang
kinkie Nov 20, 2024
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
47 changes: 47 additions & 0 deletions .github/workflows/slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,50 @@ jobs:
with:
name: build-logs-macos
path: btlayer-*.log

freebsd:
strategy:
matrix:
osversion:
- 14.1
- 13.3

runs-on: ubuntu-22.04
name: freebsd(${{ matrix.osversion }})

steps:
- name: Checkout Sources
uses: actions/checkout@v4

- name: Run test-builds
id: test-builds
uses: vmactions/freebsd-vm@v1
with:
usesh: true
release: ${{ matrix.osversion }}
prepare: |
pkg update
pkg install -y \
autoconf \
autoconf-archive \
automake \
bash \
cppunit \
gmake \
libltdl \
libtool \
m4 \
nettle \
pkgconf \
translate-toolkit

rousskov marked this conversation as resolved.
Show resolved Hide resolved
run: |
export MAKE=gmake
./test-builds.sh

- name: Publish build logs
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: build-logs-freebsd-${{ matrix.osversion }}
path: btlayer-*.log