cmake: add CPack support for creating binary archives
This commit is contained in:
committed by
Anonymous Maarten
parent
64c97906c9
commit
53d434fd24
9
.github/workflows/vmactions.yml
vendored
9
.github/workflows/vmactions.yml
vendored
@@ -50,6 +50,13 @@ jobs:
|
||||
run: |
|
||||
cmake -S . -B build -GNinja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DSDL_CHECK_REQUIRED_INCLUDES="/usr/local/include" \
|
||||
-DSDL_CHECK_REQUIRED_LINK_OPTIONS="-L/usr/local/lib"
|
||||
cmake --build build --verbose -- -j`sysctl -n hw.ncpu`
|
||||
cmake --build build/ --config Release --verbose -- -j`sysctl -n hw.ncpu`
|
||||
cmake --build build/ --config Release --target package
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
if-no-files-found: error
|
||||
name: SDL-freebsd
|
||||
path: build/dist/SDL3*
|
||||
|
||||
Reference in New Issue
Block a user