Skip to content

Commit

Permalink
Update libsodium and Visual Studio versions used GitHub Actions workf…
Browse files Browse the repository at this point in the history
…lows.
  • Loading branch information
lapets committed May 9, 2023
1 parent 1f3e420 commit c6d5c63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/lint-test-cover-docs-build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
yum -y install wget libffi-devel
- name: Download libsodium source tree archive.
run: |
wget https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz
mv libsodium-1.0.18.tar.gz src/rbcl/libsodium.tar.gz
- name: Install Python.
run: |
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- uses: actions/checkout@v3
- name: Download libsodium source tree archive.
run: |
wget https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz
mv libsodium-1.0.18.tar.gz src/rbcl/libsodium.tar.gz
- name: Install Python.
run: |
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- uses: actions/checkout@v3
- name: Download libsodium source tree archive.
run: |
wget https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz
mv libsodium-1.0.18.tar.gz src/rbcl/libsodium.tar.gz
- name: Install Python.
run: |
Expand Down Expand Up @@ -203,12 +203,12 @@ jobs:
env:
WHEELNAME: rbcl-${{ github.ref_name }}-${{ matrix.python.version-abi }}-abi3-${{ matrix.windows.version }}
INCLUDE: C:/libsodium/include
LIB: C:/libsodium/${{ matrix.windows.arch-sodium }}/release/v142/dynamic/
LIB: C:/libsodium/${{ matrix.windows.arch-sodium }}/release/v143/dynamic/
steps:
- uses: actions/checkout@v3
- name: Download and extract libsodium dynamic library file.
run: |
wget -O c:\libsodium-1.0.18-msvc.zip https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18-msvc.zip
wget -O c:\libsodium-1.0.18-msvc.zip https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-msvc.zip
Expand-Archive c:\libsodium-1.0.18-msvc.zip -DestinationPath c:\
shell: powershell
- name: Install Python.
Expand All @@ -223,7 +223,7 @@ jobs:
- name: Build wheel file.
run: |
mkdir wheelhouse
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -no_logo -arch=${{ matrix.windows.arch-vs }}
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -no_logo -arch=${{ matrix.windows.arch-vs }}
python -m build --wheel
mv dist/rbcl*.whl wheelhouse
cp build/lib*/rbcl/_sodium.py src/rbcl/_sodium.py
Expand Down

0 comments on commit c6d5c63

Please sign in to comment.