Restore macOS background sampling declarations
This commit is contained in:
@@ -26,8 +26,6 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build ${{ matrix.target }}
|
name: Build ${{ matrix.target }}
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -157,11 +155,6 @@ jobs:
|
|||||||
tail -80 "$build_log"
|
tail -80 "$build_log"
|
||||||
echo '```'
|
echo '```'
|
||||||
} >> "$GITHUB_STEP_SUMMARY"
|
} >> "$GITHUB_STEP_SUMMARY"
|
||||||
git config user.name github-actions
|
|
||||||
git config user.email github-actions@github.com
|
|
||||||
diagnostic_tag="diagnostic-${{ matrix.target }}-${{ github.run_id }}"
|
|
||||||
git tag -f -F "$build_log" "$diagnostic_tag"
|
|
||||||
git push --force origin "refs/tags/$diagnostic_tag"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cat "$build_log"
|
cat "$build_log"
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
# include <sys/sysctl.h>
|
||||||
# include <mach/mach_time.h>
|
# include <mach/mach_time.h>
|
||||||
# include <mach/mach.h>
|
# include <mach/mach.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user