Skip to content

Commit 35318a9

Browse files
committed
Make things faster
1 parent 2f61393 commit 35318a9

File tree

10 files changed

+66
-1
lines changed

10 files changed

+66
-1
lines changed

.github/workflows/build_android.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737

3838
steps:
3939
- uses: actions/checkout@v4
40+
with:
41+
fetch-depth: 0
4042
- uses: seanmiddleditch/gha-setup-ninja@master
4143
- name: Setup Java
4244
uses: actions/setup-java@v3
@@ -65,6 +67,8 @@ jobs:
6567
needs: [configure]
6668
steps:
6769
- uses: actions/checkout@v4
70+
with:
71+
fetch-depth: 0
6872
- uses: seanmiddleditch/gha-setup-ninja@master
6973
- name: Setup Java
7074
uses: actions/setup-java@v3
@@ -95,6 +99,8 @@ jobs:
9599
needs: [configure]
96100
steps:
97101
- uses: actions/checkout@v4
102+
with:
103+
fetch-depth: 0
98104
- uses: seanmiddleditch/gha-setup-ninja@master
99105
- name: Setup Java
100106
uses: actions/setup-java@v3

.github/workflows/build_ios.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333

3434
steps:
3535
- uses: actions/checkout@v4
36+
with:
37+
fetch-depth: 0
38+
3639
- uses: seanmiddleditch/gha-setup-ninja@master
3740

3841
- name: Configure
@@ -57,6 +60,8 @@ jobs:
5760
needs: [configure]
5861
steps:
5962
- uses: actions/checkout@v4
63+
with:
64+
fetch-depth: 0
6065
- uses: seanmiddleditch/gha-setup-ninja@master
6166
- uses: actions/cache/restore@v4
6267
id: cache-restore
@@ -76,6 +81,8 @@ jobs:
7681
needs: [configure]
7782
steps:
7883
- uses: actions/checkout@v4
84+
with:
85+
fetch-depth: 0
7986
- uses: seanmiddleditch/gha-setup-ninja@master
8087
- uses: actions/cache/restore@v4
8188
id: cache-restore
@@ -95,6 +102,8 @@ jobs:
95102
needs: [configure]
96103
steps:
97104
- uses: actions/checkout@v4
105+
with:
106+
fetch-depth: 0
98107
- uses: seanmiddleditch/gha-setup-ninja@master
99108
- uses: actions/cache/restore@v4
100109
id: cache-restore

.github/workflows/build_linux.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939

4040
steps:
4141
- uses: actions/checkout@v4
42+
with:
43+
fetch-depth: 0
4244
- uses: seanmiddleditch/gha-setup-ninja@master
4345
- name: Install Dependencies
4446
run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
@@ -63,6 +65,8 @@ jobs:
6365
needs: [configure]
6466
steps:
6567
- uses: actions/checkout@v4
68+
with:
69+
fetch-depth: 0
6670
- uses: seanmiddleditch/gha-setup-ninja@master
6771
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
6872
- uses: actions/cache/restore@v4
@@ -85,6 +89,8 @@ jobs:
8589
needs: [configure]
8690
steps:
8791
- uses: actions/checkout@v4
92+
with:
93+
fetch-depth: 0
8894
- uses: seanmiddleditch/gha-setup-ninja@master
8995
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
9096
- uses: actions/cache/restore@v4
@@ -103,6 +109,8 @@ jobs:
103109
needs: [configure]
104110
steps:
105111
- uses: actions/checkout@v4
112+
with:
113+
fetch-depth: 0
106114
- uses: seanmiddleditch/gha-setup-ninja@master
107115
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
108116
- uses: actions/cache/restore@v4
@@ -121,6 +129,8 @@ jobs:
121129
needs: [configure]
122130
steps:
123131
- uses: actions/checkout@v4
132+
with:
133+
fetch-depth: 0
124134
- uses: seanmiddleditch/gha-setup-ninja@master
125135
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
126136
- uses: actions/cache/restore@v4
@@ -139,6 +149,8 @@ jobs:
139149
needs: [configure]
140150
steps:
141151
- uses: actions/checkout@v4
152+
with:
153+
fetch-depth: 0
142154
- uses: seanmiddleditch/gha-setup-ninja@master
143155
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
144156
- uses: actions/cache/restore@v4

.github/workflows/build_macos.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232

3333
steps:
3434
- uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 0
3537
- uses: seanmiddleditch/gha-setup-ninja@master
3638

3739
- name: Configure
@@ -54,6 +56,8 @@ jobs:
5456
needs: [configure]
5557
steps:
5658
- uses: actions/checkout@v4
59+
with:
60+
fetch-depth: 0
5761
- uses: seanmiddleditch/gha-setup-ninja@master
5862
- uses: actions/cache/restore@v4
5963
id: cache-restore
@@ -75,6 +79,8 @@ jobs:
7579
needs: [configure]
7680
steps:
7781
- uses: actions/checkout@v4
82+
with:
83+
fetch-depth: 0
7884
- uses: seanmiddleditch/gha-setup-ninja@master
7985
- uses: actions/cache/restore@v4
8086
id: cache-restore
@@ -92,6 +98,8 @@ jobs:
9298
needs: [configure]
9399
steps:
94100
- uses: actions/checkout@v4
101+
with:
102+
fetch-depth: 0
95103
- uses: seanmiddleditch/gha-setup-ninja@master
96104
- uses: actions/cache/restore@v4
97105
id: cache-restore
@@ -109,6 +117,8 @@ jobs:
109117
needs: [configure]
110118
steps:
111119
- uses: actions/checkout@v4
120+
with:
121+
fetch-depth: 0
112122
- uses: seanmiddleditch/gha-setup-ninja@master
113123
- uses: actions/cache/restore@v4
114124
id: cache-restore
@@ -126,6 +136,8 @@ jobs:
126136
needs: [configure]
127137
steps:
128138
- uses: actions/checkout@v4
139+
with:
140+
fetch-depth: 0
129141
- uses: seanmiddleditch/gha-setup-ninja@master
130142
- uses: actions/cache/restore@v4
131143
id: cache-restore

.github/workflows/build_wasm.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 0
4143
- uses: seanmiddleditch/gha-setup-ninja@master
4244
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
4345
- name: Setup emsdk
@@ -58,6 +60,8 @@ jobs:
5860
runs-on: ubuntu-latest
5961
steps:
6062
- uses: actions/checkout@v4
63+
with:
64+
fetch-depth: 0
6165
- uses: seanmiddleditch/gha-setup-ninja@master
6266
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
6367
- name: Setup emsdk
@@ -74,6 +78,8 @@ jobs:
7478
runs-on: ubuntu-latest
7579
steps:
7680
- uses: actions/checkout@v4
81+
with:
82+
fetch-depth: 0
7783
- uses: seanmiddleditch/gha-setup-ninja@master
7884
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
7985
- name: Setup emsdk
@@ -90,6 +96,8 @@ jobs:
9096
runs-on: ubuntu-latest
9197
steps:
9298
- uses: actions/checkout@v4
99+
with:
100+
fetch-depth: 0
93101
- uses: seanmiddleditch/gha-setup-ninja@master
94102
- run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
95103
- name: Setup emsdk

.github/workflows/build_windows.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
runs-on: windows-latest
3434
steps:
3535
- uses: actions/checkout@v4
36+
with:
37+
fetch-depth: 0
3638
- run: cmake ${{ github.workspace }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_TESTS=ON
3739
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target yup_tests
3840
- working-directory: ${{ runner.workspace }}/build/tests/Debug
@@ -47,6 +49,8 @@ jobs:
4749
runs-on: windows-latest
4850
steps:
4951
- uses: actions/checkout@v4
52+
with:
53+
fetch-depth: 0
5054
- run: cmake ${{ github.workspace }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
5155
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_console
5256
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_console
@@ -55,6 +59,8 @@ jobs:
5559
runs-on: windows-latest
5660
steps:
5761
- uses: actions/checkout@v4
62+
with:
63+
fetch-depth: 0
5864
- run: cmake ${{ github.workspace }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
5965
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_app
6066
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_app
@@ -63,6 +69,8 @@ jobs:
6369
runs-on: windows-latest
6470
steps:
6571
- uses: actions/checkout@v4
72+
with:
73+
fetch-depth: 0
6674
- run: cmake ${{ github.workspace }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
6775
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_graphics
6876
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_graphics
@@ -71,6 +79,8 @@ jobs:
7179
runs-on: windows-latest
7280
steps:
7381
- uses: actions/checkout@v4
82+
with:
83+
fetch-depth: 0
7484
- run: cmake ${{ github.workspace }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
7585
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_plugin_clap_plugin
7686
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_plugin_clap_plugin

.github/workflows/coverage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
steps:
6060
- name: Checkout repository
6161
uses: actions/checkout@v4
62+
with:
63+
fetch-depth: 0
6264

6365
- name: Setup Ninja
6466
uses: seanmiddleditch/gha-setup-ninja@master

.github/workflows/python_linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040

4141
steps:
4242
- uses: actions/checkout@v4
43+
with:
44+
fetch-depth: 0
4345

4446
- name: Set up QEMU
4547
if: matrix.cibw_archs == 'aarch64'

.github/workflows/python_macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ jobs:
3434
fail-fast: true
3535
matrix:
3636
include:
37-
- { os: macos-15, python: 311, platform_id: macosx_universal2, cibw_archs: universal2 }
37+
- { os: macos-latest, python: 311, platform_id: macosx_universal2, cibw_archs: universal2 }
3838

3939
steps:
4040
- uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 0
4143

4244
- name: Setup and install python
4345
uses: actions/setup-python@v5

.github/workflows/python_windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141

4242
steps:
4343
- uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 0
4446

4547
- name: Setup and install python
4648
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)