mirror of
https://github.com/orange-cpp/omath.git
synced 2026-08-07 21:42:05 +00:00
fix freebsd
This commit is contained in:
@@ -458,14 +458,17 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Build and Test
|
||||
uses: cross-platform-actions/action@v0.31.0
|
||||
- name: Start FreeBSD VM
|
||||
uses: cross-platform-actions/action@v1.3.0
|
||||
with:
|
||||
operating_system: freebsd
|
||||
architecture: ${{ matrix.arch }}
|
||||
version: '15.0'
|
||||
memory: '12G'
|
||||
cpu_count: 4
|
||||
|
||||
- name: Build and Test
|
||||
shell: cpa.sh {0}
|
||||
run: |
|
||||
sudo pkg install -y git curl zip unzip gmake llvm gsed bash perl5 openssl 7-zip coreutils cmake ninja pkgconf patchelf
|
||||
git config --global --add safe.directory `pwd`
|
||||
@@ -473,6 +476,8 @@ jobs:
|
||||
export VCPKG_ROOT=/tmp/vcpkg
|
||||
rm -rf "$VCPKG_ROOT"
|
||||
git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT"
|
||||
# FreeBSD 15 packages CMake 3.31; newer vcpkg requires CMake 4.3.
|
||||
git -C "$VCPKG_ROOT" checkout 9c49a77ea9365898484a06379fa2340fd4851060
|
||||
cd "$VCPKG_ROOT"
|
||||
./bootstrap-vcpkg.sh
|
||||
cd -
|
||||
|
||||
@@ -375,14 +375,17 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Build and Package
|
||||
uses: cross-platform-actions/action@v0.31.0
|
||||
- name: Start FreeBSD VM
|
||||
uses: cross-platform-actions/action@v1.3.0
|
||||
with:
|
||||
operating_system: freebsd
|
||||
architecture: ${{ matrix.arch }}
|
||||
version: '15.0'
|
||||
memory: '12G'
|
||||
cpu_count: 4
|
||||
|
||||
- name: Build and Package
|
||||
shell: cpa.sh {0}
|
||||
run: |
|
||||
sudo pkg install -y git curl zip unzip gmake llvm gsed bash perl5 openssl 7-zip coreutils cmake ninja pkgconf patchelf
|
||||
git config --global --add safe.directory `pwd`
|
||||
@@ -390,6 +393,8 @@ jobs:
|
||||
export VCPKG_ROOT=/tmp/vcpkg
|
||||
rm -rf "$VCPKG_ROOT"
|
||||
git clone https://github.com/microsoft/vcpkg "$VCPKG_ROOT"
|
||||
# FreeBSD 15 packages CMake 3.31; newer vcpkg requires CMake 4.3.
|
||||
git -C "$VCPKG_ROOT" checkout 9c49a77ea9365898484a06379fa2340fd4851060
|
||||
cd "$VCPKG_ROOT"
|
||||
./bootstrap-vcpkg.sh
|
||||
cd -
|
||||
|
||||
Reference in New Issue
Block a user