You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the GH Actions environment windows-2019 comes with Virtual Studio 2019 and vcpkg
A setup similar to this is actually running on Appveyor currently (and btw compiled latest GCOS adjustments, too); it may be useful to test complilation (and maybe running) with at least one non-gcc build (macos is likely clang, even if named gcc, but even then much more "like gcc")
That's the CI definition that would work in appveyor, giving an overview about steps to possibly add some day:
version: 3.2-dev.{build}-vsimage:
- Visual Studio 2019configuration:
- Release
- Debugplatform:
- x86
- x64clone_folder: C:\projects\gnucobol_vsenvironment:
WINFLEXBISON_VERSION: 2.5.24WINFLEXBISON_ARCHIVE: win_flex_bison-%WINFLEXBISON_VERSION%.zipDEP_ARCHIVE: dependencies-%PLATFORM%.7zVCPKGS: zlib:%PLATFORM%-windows liblzma:%PLATFORM%-windows mpir:%PLATFORM%-windows pdcurses:%PLATFORM%-windows berkeleydb:%PLATFORM%-windows libxml2:%PLATFORM%-windows cjson:%PLATFORM%-windows json-c:%PLATFORM%-windowsinstall:
- cmd: >- set "OLDDIR=%CD%" echo Use vcpkg for pre-prerequisites && pushd c:\tools\vcpkg && git pull && .\bootstrap-vcpkg.bat && vcpkg integrate install && vcpkg install %VCPKGS% && vcpkg update && vcpkg upgrade %VCPKGS% --no-dry-run pushd %OLDDIR% echo Get flex/bison, include them in PATH if not exist "%WINFLEXBISON_ARCHIVE%" appveyor DownloadFile "https://github.com/lexxmark/winflexbison/releases/download/v%WINFLEXBISON_VERSION%/%WINFLEXBISON_ARCHIVE%" 7z.exe x -y -owin_flex_bison\ "%WINFLEXBISON_ARCHIVE%" > nul set PATH=%CD%\win_flex_bison;%PATH%cache:
- '%WINFLEXBISON_ARCHIVE%'
- c:\tools\vcpkg\installed\
- c:\tools\vcpkg\packages\build_script:
- cmd: >- echo setup local configuration sed "build_windows\config.h.in" -e's/\(#define CONFIGURED_ISAM *\) /\1 BDB/g' -e's/\(#define CONFIGURED_CURSES *\) /\1 PDCURSES/g' -e's/\(#define CONFIGURED_XML *\) /\1 XML2/g' -e's/\(#define CONFIGURED_JSON *\) /\1 CJSON_CJSON/g' > "config.h" powershell -ExecutionPolicy ByPass -File build_windows\maketarstamp.ps1 > tarstamp.h echo doing the actual build - bison + flex call build_windows\makebisonflex.cmd || appveyor AddMessage "bisonflex returned with %errorlevel%" -Category Warning echo doing the actual build - GnuCOBOL msbuild "C:\projects\gnucobol_vs\build_windows\2019\GnuCOBOL.sln" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" echo exporting dependencies vcpkg.exe export %VCPKGS% --raw move C:\Tools\vcpkg\vcpkg-export-* .\vcpkg-export set "VCPKG_EXPORT_DIR=%CD%\vcpkg-export" echo create binary dist package call build_windows\makedist.cmd %CONFIGURATION% echo wrap up dependencies for separate download 7z.exe a -r -mx=9 "%DEP_ARCHIVE%" vcpkg-exporttest: offartifacts:
- path: build_windows\GnuCOBOL*.7zname: Package for VS
- path: '%DEP_ARCHIVE%'name: Dependencies
The only testing done here is the build of the dump module, there are some test options available (non used in appveyor so far)
The text was updated successfully, but these errors were encountered:
the GH Actions environment windows-2019 comes with Virtual Studio 2019 and vcpkg
A setup similar to this is actually running on Appveyor currently (and btw compiled latest GCOS adjustments, too); it may be useful to test complilation (and maybe running) with at least one non-gcc build (macos is likely clang, even if named gcc, but even then much more "like gcc")
That's the CI definition that would work in appveyor, giving an overview about steps to possibly add some day:
The only testing done here is the build of the dump module, there are some test options available (non used in appveyor so far)
The text was updated successfully, but these errors were encountered: