Skip to content

Update build_sword.bat - explicitly set define CURLAVAILABLE #180

Update build_sword.bat - explicitly set define CURLAVAILABLE

Update build_sword.bat - explicitly set define CURLAVAILABLE #180

Workflow file for this run

name: Build Sword Windows binaries
on: [ repository_dispatch, push ]
jobs:
build-win32:
name: Build Sword & dependencies for Win32
runs-on: windows-2019
steps:
- uses: ilammy/msvc-dev-cmd@v1
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git lfs install --skip-smudge
git submodule init
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update
git lfs install --force
- name: Create build directories
shell: cmd
run: |
mkdir dist
mkdir dist\lib
- name: Build zlib
run: powershell .\build_zlib.bat v1.2.9 dist\lib
- name: Build xz
run: powershell .\build_xz.bat v5.2.4 dist\lib
- name: Build bzip2
run: powershell .\build_bzip2.bat bzip2-1.0.8 dist\lib
- name: Build curl
run: powershell .\build_curl.bat curl-7_68_0 dist\lib
- name: Build sword
run: powershell .\build_sword.bat 574325 dist\lib
- name: Copy sword headers
shell: cmd
run: |
xcopy sword\include dist\include /E /I
- name: Upload artifacts
uses: actions/upload-artifact@v1.0.0
with:
name: sword-build-win32-latest
path: dist