-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci for freebsd nicer, with libevent, faster without static compile, and
with grouped output, also the pkg install is conditional on the platform.
- Loading branch information
1 parent
19d53d5
commit 12119e2
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,7 +169,7 @@ jobs: | |
cross_platform_os: "freebsd" | ||
cross_platform_arch: "x86-64" | ||
cross_platform_version: "14.1" | ||
cross_platform_config: "--enable-debug --disable-flto" | ||
cross_platform_config: "--enable-debug --disable-flto --with-libevent --disable-static" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -343,18 +343,27 @@ jobs: | |
- name: cross-platform-action on ${{ matrix.cross_platform_os }} ${{ matrix.cross_platform_version }} | ||
if: ${{ matrix.with_cross_platform_action == 'yes' }} | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
CROSS_PLATFORM_OS: ${{ matrix.cross_platform_os }} | ||
with: | ||
environment_variables: CROSS_PLATFORM_OS | ||
operating_system: ${{ matrix.cross_platform_os }} | ||
architecture: ${{ matrix.cross_platform_arch }} | ||
version: ${{ matrix.cross_platform_version }} | ||
shell: bash | ||
memory: 4G | ||
cpu_count: 2 | ||
run: | | ||
sudo pkg install -y openssl libevent expat | ||
if test "$CROSS_PLATFORM_OS" = "freebsd"; then sudo pkg install -y openssl libevent expat; fi | ||
echo "::group::configure" | ||
./configure ${{ matrix.cross_platform_config }} | ||
echo "::endgroup::" | ||
echo "::group::make" | ||
make | ||
echo "::endgroup::" | ||
echo "::group::make test" | ||
make test | ||
echo "::endgroup::" | ||
- name: install libevent | ||
if: ${{ matrix.install_libevent == 'yes' }} | ||
run: sudo apt-get install libevent-dev | ||
|