mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 15:07:38 +00:00
build_osx - upload logs artifacts to help debugging
This commit is contained in:
@@ -61,11 +61,24 @@ jobs:
|
|||||||
key: ${GITHUB_WORKFLOW}-${{ matrix.os }}
|
key: ${GITHUB_WORKFLOW}-${{ matrix.os }}
|
||||||
|
|
||||||
- name: Run Build Script
|
- name: Run Build Script
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ matrix.os }}" == "macos" ]; then
|
if [ "${{ matrix.os }}" == "macos" ]; then
|
||||||
DARWIN_C_SOURCE=-D_DARWIN_C_SOURCE
|
DARWIN_C_SOURCE=-D_DARWIN_C_SOURCE
|
||||||
fi
|
fi
|
||||||
CXXFLAGS="-O3" CFLAGS="-O3 ${DARWIN_C_SOURCE}" ADD_COMMIT_SHA=1 BUILD_CFG=Release python3 ./nix/build-all.py --diskcleanup
|
set -o pipefail
|
||||||
|
CXXFLAGS="-O3" CFLAGS="-O3 ${DARWIN_C_SOURCE}" ADD_COMMIT_SHA=1 BUILD_CFG=Release python3 ./nix/build-all.py -v --diskcleanup | tee build.log
|
||||||
|
|
||||||
|
- name: Upload Build Logs
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build-logs-osx-${{ matrix.arch }}
|
||||||
|
path: |
|
||||||
|
build.log
|
||||||
|
build/*/*/*/logs/*.log
|
||||||
|
build/*/*/*/build/ifcopenshell/**/CMakeCache.txt
|
||||||
|
retention-days: 30
|
||||||
|
|
||||||
- name: Pack Dependencies
|
- name: Pack Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user