Skip to content

Commit

Permalink
Change windows action to use included lzo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-boyd committed Jan 13, 2024
1 parent dcfe267 commit 46c671a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@ jobs:
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Download lzo and extract it
run: |
if not exist C:\src\ (md C:\src)
if not exist C:\src\lzo-2.10.tar.gz (curl -fsS http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz -o C:\src\lzo-2.10.tar.gz)
python tarxfz.py
- name: Run cmake
working-directory: C:\src\lzo-2.10
working-directory: .\lzo-2.10
run: |
md build
cd build
Expand All @@ -34,16 +29,16 @@ jobs:
with:
msbuild-architecture: x64
- name: Build lzo static lib
working-directory: C:\src\lzo-2.10\build
run: msbuild lzo_static_lib.vcxproj -p:Configuration=Release;Platform=x64;OutDir=C:\src\lzo-2.10
working-directory: .\lzo-2.10\build
run: msbuild lzo_static_lib.vcxproj -p:Configuration=Release;Platform=x64;OutDir=..\
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Build wheel
env:
LZO_DIR: C:\src\lzo-2.10
LZO_DIR: .\lzo-2.10
run: |
python -m pip install -U pip wheel build
python -m build
Expand Down

0 comments on commit 46c671a

Please sign in to comment.