Skip to content

Commit

Permalink
Optimized Windows build workflow pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 26, 2024
1 parent 90edd3f commit ac7dc3b
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/build_ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Microsoft Visual Studio C/C++
uses: ilammy/msvc-dev-cmd@v1
- name: Python 3.12 Installation
uses: actions/setup-python@v5
with:
arch: x86_amd64

- name: Install winget
uses: Cyberboss/install-winget@v1
python-version: '3.12'

- name: MSVC Redistributable Installation
run: |
winget install --id=Microsoft.VCRedist.2008.x86 --disable-interactivity --accept-source-agreements -e
winget install --id=Microsoft.VCRedist.2008.x64 --disable-interactivity --accept-source-agreements -e
winget install --id=Microsoft.VCRedist.2010.x86 --disable-interactivity --accept-source-agreements -e
winget install --id=Microsoft.VCRedist.2010.x64 --disable-interactivity --accept-source-agreements -e
winget install --id=Microsoft.VCRedist.2012.x86 --disable-interactivity --accept-source-agreements -e
winget install --id=Microsoft.VCRedist.2012.x64 --disable-interactivity --accept-source-agreements -e
winget install --id=Microsoft.VCRedist.2013.x86 --disable-interactivity --accept-source-agreements -e
winget install --id=Microsoft.VCRedist.2013.x64 --disable-interactivity --accept-source-agreements -e
- name: Microsoft Visual Studio C/C++
uses: ilammy/msvc-dev-cmd@v1

- name: Windows 10 SDK Installation
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2
Expand All @@ -48,15 +37,7 @@ jobs:
uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '12.6.0'

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Python 3.12 Installation
uses: actions/setup-python@v5
with:
python-version: '3.12'
cuda: '12.5.0'

- name: Build Zhivo
run: |
Expand Down

0 comments on commit ac7dc3b

Please sign in to comment.