mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
ci/macos: add build timings
This commit is contained in:
committed by
Frans de Jonge
parent
e16bdc5dd4
commit
dba1fa886b
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -37,6 +37,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
wget -O ninjatracing.zip https://github.com/nico/ninjatracing/archive/a669e3644cf22b29cbece31dbed2cfbf34e5f48e.zip
|
||||||
|
unzip -j ninjatracing.zip '*/ninjatracing'
|
||||||
|
install -m755 ninjatracing /usr/local/bin/
|
||||||
|
rm ninjatracing*
|
||||||
packages=(
|
packages=(
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
@@ -123,9 +127,14 @@ jobs:
|
|||||||
# Build. {{{
|
# Build. {{{
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
id: build
|
||||||
if: steps.build-restore.outputs.cache-hit != 'true'
|
if: steps.build-restore.outputs.cache-hit != 'true'
|
||||||
run: make base
|
run: make base
|
||||||
|
|
||||||
|
- name: Dump build timings
|
||||||
|
if: contains('failure success', steps.build.conclusion) && !cancelled()
|
||||||
|
run: make buildstats
|
||||||
|
|
||||||
- name: Dump binaries runtime path & dependencies
|
- name: Dump binaries runtime path & dependencies
|
||||||
run: make bindeps
|
run: make bindeps
|
||||||
|
|
||||||
@@ -134,7 +143,7 @@ jobs:
|
|||||||
# Clean / save caches. {{{
|
# Clean / save caches. {{{
|
||||||
|
|
||||||
- name: Clean caches
|
- name: Clean caches
|
||||||
if: steps.build-restore.outputs.cache-hit != 'true' && always()
|
if: contains('failure success', steps.build.conclusion) && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
# Trim the build directory.
|
# Trim the build directory.
|
||||||
|
|||||||
Reference in New Issue
Block a user