Skip to content

Commit

Permalink
Measure time spent on compiling translations
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettDong committed Jan 21, 2022
1 parent a3d494f commit b53ea94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,12 @@ jobs:
restore-keys: |
ccache-master-${{ runner.os }}-${{ matrix.compiler }}--
- uses: ammaraskar/gcc-problem-matcher@master
- name: compile translations (Linux)
if: runner.os == 'Linux'
run: make localization -j$((`nproc`+0))
- name: compile translations (macOS)
if: runner.os == 'macOS'
run: make localization -j$((`sysctl -n hw.logicalcpu`+0))
- name: build
if: ${{ env.SKIP == 'false' }}
run: bash ./build-scripts/gha_compile_only.sh
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ jobs:
shell: bash
run: |
lang/compile_mo.sh all
- name: Compile translations (UNIX)
if: runner.os != 'Windows'
run: make localization -j$((`nproc`+0))
- name: Build CDDA (linux)
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none'
run: |
Expand Down

0 comments on commit b53ea94

Please sign in to comment.