From f85f2a154afeef65e4b5eb1846bc66c402fb1f14 Mon Sep 17 00:00:00 2001 From: adamyg Date: Sat, 18 Jan 2025 03:39:04 +0800 Subject: [PATCH] #98 --- .github/workflows/macos.yml | 6 ++++++ .github/workflows/solaris.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8b0b3bd4..999b3f9c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -187,6 +187,12 @@ jobs: export LD_LIBRARY_PATH=$(brew --prefix libarchive)/lib:/usr/local/lib:$LD_LIBRARY_PATH make release + - name: MacOS, unit-test + if: startsWith(matrix.config.name, 'MacOS Latest') + shell: bash + run: | + make release unittest + - name: Package uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml index d5586803..c6067a23 100644 --- a/.github/workflows/solaris.yml +++ b/.github/workflows/solaris.yml @@ -55,6 +55,7 @@ jobs: export CFLAGS="-std=gnu11 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1" ./configure --prefix=/usr gmake release build + gmake release unittest ## References: ## https://github.com/oracle/solaris-userland/blob/master/make-rules/shared-macros.mk