Skip to content

Commit

Permalink
reduce clone size by depth=1
Browse files Browse the repository at this point in the history
  • Loading branch information
microcai committed Oct 13, 2024
1 parent f07c58e commit 6611341
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/msvc-qt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
msvc: msvc2019

steps:
- uses: actions/checkout@v4.2.1
- uses: actions/setup-python@v5.2.0
- run: python --version
- name: Setup the compiler target win64
Expand Down Expand Up @@ -53,9 +52,9 @@ jobs:
if: steps.cache-qt-repo.outputs.cache-hit != 'true'
run: |
# Clone Qt6 repo
git clone https://code.qt.io/qt/qt5.git -b v6.8.0 qt-source
git clone https://github.com/qt/qt5.git -b v6.8.0 --depth 1 qt-source
cd qt-source
perl init-repository.pl
perl init-repository.pl --mirror https://github.com/qt/
- name: create build directory
working-directory: ${{ runner.workspace }}
Expand All @@ -78,7 +77,7 @@ jobs:
-no-feature-qdbus
-no-feature-qtdiag
-no-feature-qtplugininfo
-skip qtopcua,qtgrpc,qt3d,qtmqtt,qtcoap,qtqa
-skip qtopcua,qtgrpc,qt3d,qtmqtt,qtcoap,qtqa,qtdbus,qtremoteobjects
-- -DFEATURE_cxx20=${{ matrix.FEATURE_cxx20 }}
- name: build qt
Expand Down

0 comments on commit 6611341

Please sign in to comment.