1
0

chore: use new github action build layout

This commit is contained in:
2026-02-03 15:49:47 +08:00
parent b06bd587f6
commit 90fe7ddcaf
15 changed files with 49 additions and 46 deletions

24
.github/scripts/yycc/macos.sh vendored Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
set -euo pipefail
# Create build directory and enter it
mkdir bin
cd bin
# Create internal build and install directory
mkdir build
mkdir install
# Build in Release mode
cd build
cmake -DCMAKE_CXX_STANDARD=23 -DCMAKE_BUILD_TYPE=Release ../..
cmake --build .
cmake --install . --prefix=../install
cd ..
# Record install directory
cd install
export YYCCommonplace_ROOT=$(pwd)
cd ..
# Back to root directory
cd ..