Browse Source

CI: Update information about FreeBSD versions

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5251 4ea69e1a-61f1-4043-bf83-b5c94c648137
pull/120/head
samm-git 9 months ago
parent
commit
e85339cf59
  1. 16
      .circleci/config.yml

16
.circleci/config.yml

@ -127,25 +127,25 @@ references:
mv smartmontools-${SM_VER}-r${SVNREV}.dmg "/artefacts/" &&
rm -rf ~/build
sm_compile_freebsd11: &sm_compile_freebsd11
sm_compile_freebsd13: &sm_compile_freebsd13
run:
name: Creating static FreeBSD-11.3/amd64 binaries
name: Creating static FreeBSD-13.0/amd64 binaries
command: |
SM_VER=`cat ~/SM_VER` && SVNREV=`cat ~/SVNREV` &&
BUILD_INFO='"(CircleCI)"' &&
mkdir ~/build && cd ~/build &&
tar -xzf /artefacts/smartmontools-${SM_VER}-r${SVNREV}.src.tar.gz &&
cd smartmontools-${SM_VER} && mkdir build && cd build &&
TARGET="-target x86_64-unknown-freebsd11 --sysroot=/opt/cross-freebsd-11/" &&
../configure CC="clang $TARGET" CXX="clang++ $TARGET" LDFLAGS="-static" --host=x86_64-pc-freebsd11 &&
TARGET="-target x86_64-unknown-freebsd13 --sysroot=/opt/cross-freebsd-13/" &&
../configure CC="clang $TARGET" CXX="clang++ $TARGET" LDFLAGS="-static" --host=x86_64-pc-freebsd13 &&
make -j2 BUILD_INFO="$BUILD_INFO" &&
mkdir inst && make DESTDIR="$(pwd)/inst" install &&
(cd inst && tar czf "/artefacts/smartmontools-freebsd11.3-amd64-static-${SM_VER}-r${SVNREV}.tar.gz" *) &&
(cd inst && tar czf "/artefacts/smartmontools-freebsd13.0-amd64-static-${SM_VER}-r${SVNREV}.tar.gz" *) &&
rm -rf ~/build
sm_compile_freebsd12: &sm_compile_freebsd12
run:
name: Creating static FreeBSD-12.1/amd64 binaries
name: Creating static FreeBSD-12.2/amd64 binaries
command: |
SM_VER=`cat ~/SM_VER` && SVNREV=`cat ~/SVNREV` &&
BUILD_INFO='"(CircleCI)"' &&
@ -156,7 +156,7 @@ references:
../configure CC="clang $TARGET" CXX="clang++ $TARGET" LDFLAGS="-static" --host=x86_64-pc-freebsd12 &&
make -j2 BUILD_INFO="$BUILD_INFO" &&
mkdir inst && make DESTDIR="$(pwd)/inst" install &&
(cd inst && tar czf "/artefacts/smartmontools-freebsd12.1-amd64-static-${SM_VER}-r${SVNREV}.tar.gz" *) &&
(cd inst && tar czf "/artefacts/smartmontools-freebsd12.2-amd64-static-${SM_VER}-r${SVNREV}.tar.gz" *) &&
rm -rf ~/build
sm_run_cppcheck: &sm_run_cppcheck
@ -200,7 +200,7 @@ jobs:
- *sm_compile_linux32
- *sm_compile_win
- *sm_compile_darwin
- *sm_compile_freebsd11
- *sm_compile_freebsd13
- *sm_compile_freebsd12
- *sm_compile_linux_clang
- *sm_run_cppcheck

Loading…
Cancel
Save