Skip to content

Commit f6e0459

Browse files
committed
Vibe Settings
1 parent 9c3c3fb commit f6e0459

File tree

1 file changed

+46
-47
lines changed

1 file changed

+46
-47
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -13,50 +13,49 @@ jobs:
1313
runs-on: windows-latest
1414

1515
steps:
16-
- name: git pull
17-
uses: actions/checkout@v4
18-
with:
19-
fetch-depth: 0
20-
21-
- name: Set up Python 3.12
22-
uses: actions/setup-python@v5
23-
with:
24-
python-version: '3.12'
25-
26-
- name: Verify Python installation
27-
run: |
28-
python --version
29-
where python
30-
python -m pip install --upgrade pip setuptools wheel
31-
32-
- name: microsoft/setup-msbuild@v2
33-
uses: microsoft/setup-msbuild@v2
34-
with:
35-
vs-version: '17.0' # VS 2022
36-
37-
- name: Locate Python
38-
shell: pwsh
39-
run: |
40-
$py = python -c "import sys; print(sys.base_prefix)"
41-
echo "PYTHONROOT=$py" >> $env:GITHUB_ENV
42-
43-
- name: msbuild src/embeddings.vcxproj /p:Configuration=${{ matrix.configuration }} /p:Platform=x64
44-
shell: cmd
45-
run: |
46-
msbuild src/embeddings.vcxproj ^
47-
/p:Configuration=${{ matrix.configuration }} ^
48-
/p:Platform=x64 ^
49-
/p:PythonIncludeDir="$env:PYTHONROOT\include" ^
50-
/p:PythonLibDir="$env:PYTHONROOT\libs" ^
51-
52-
- name: dir /s /b *.dll *.pyd *.exe
53-
run: |
54-
dir /s /b *.dll *.pyd *.exe
55-
56-
- name: actions/upload-artifact@v4
57-
uses: actions/upload-artifact@v4
58-
with:
59-
name: embeddings-${{ matrix.configuration }}
60-
path: |
61-
**/${{ matrix.configuration }}/*.dll
62-
**/${{ matrix.configuration }}/*.pyd
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Set up Python 3.12
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.12'
25+
26+
- name: Verify Python installation
27+
run: |
28+
python --version
29+
where python
30+
python -m pip install --upgrade pip setuptools wheel
31+
32+
- name: Set up MSBuild
33+
uses: microsoft/setup-msbuild@v2
34+
with:
35+
vs-version: '17.0' # VS 2022
36+
37+
- name: Locate Python root
38+
shell: pwsh
39+
run: |
40+
$py = python -c "import sys; print(sys.base_prefix)"
41+
echo "PYTHONROOT=$py" >> $env:GITHUB_ENV
42+
43+
- name: Build with MSBuild
44+
shell: cmd
45+
run: |
46+
msbuild src\embeddings.vcxproj ^
47+
/p:Configuration=${{ matrix.configuration }} ^
48+
/p:Platform=x64 ^
49+
/p:PythonIncludeDir="%PYTHONROOT%\include" ^
50+
/p:PythonLibDir="%PYTHONROOT%\libs"
51+
52+
- name: List built binaries
53+
run: dir /s /b *.dll *.pyd *.exe
54+
55+
- name: Upload build artifacts
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: embeddings-${{ matrix.configuration }}
59+
path: |
60+
**/${{ matrix.configuration }}/*.dll
61+
**/${{ matrix.configuration }}/*.pyd

0 commit comments

Comments
 (0)