Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete platforms from GitHub Actions #530

Merged
merged 1 commit into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
target: [osx, ios, iossimulator, androidarm, androidarm64, androidx86, androidx86_64]
target: [osx, ios, iossimulator, androidarm, androidarm64, androidx86_64]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -138,24 +138,18 @@ jobs:
runs-on: ${{ matrix.image }}
strategy:
matrix:
toolset: [143, 142, 141]
toolset: [143, 142]
include:
- toolset: 143
image: windows-2022
vcver: 14.34
vcvars: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsall.bat"
- toolset: 142
image: windows-2019
vcver: 14.29
vcvars: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsall.bat"
- toolset: 141
image: windows-2019
vcver: 14.16
vcvars: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsall.bat"
env:
MAKEFLAGS: ""
VER_SUFFIX: .VS${{ matrix.toolset }}
VERSION: 3.15.0.${{ github.run_number }}
VERSION: 3.16.0.${{ github.run_number }}
VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}/patches/vcpkg-triplets
VCPKG_OVERLAY_PORTS: ${{ github.workspace }}/patches/vcpkg-ports
steps:
Expand Down Expand Up @@ -184,7 +178,6 @@ jobs:
-msiversion $env:VERSION `
-toolset ${{ matrix.toolset }} `
-vcvars "${{ matrix.vcvars }}" `
-vcver "${{ matrix.vcver }}" `
-swig C:/ProgramData/chocolatey/bin/swig.exe `
-doxygen "C:/Program files/doxygen/bin/doxygen.exe"
- name: Archive artifacts
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16)
if(POLICY CMP0122)
cmake_policy(SET CMP0122 NEW)
endif()
project(libdigidocpp VERSION 3.15.0)
project(libdigidocpp VERSION 3.16.0)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)

include(VersionInfo)
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
git clone --recursive https://github.com/open-eid/libdigidocpp
cd libdigidocpp

3. Prepare dependencies (available targets: osx, ios, iossimulator, androidarm, androidarm64, androidx86)
3. Prepare dependencies (available targets: osx, ios, iossimulator, androidarm, androidarm64, androidx86_64)

sh prepare_osx_build_environment.sh osx all

Expand All @@ -72,7 +72,7 @@
* swig - Optional, for C# and Java bindings
* openjdk - Optional, for Java bindings

5. Configure, build and install (available targets: osx, ios, iossimulator, androidarm, androidarm64, androidx86)
5. Configure, build and install (available targets: osx, ios, iossimulator, androidarm, androidarm64, androidx86_64)

./build-library.sh osx install

Expand All @@ -92,7 +92,6 @@
* [Java](https://www.oracle.com/java/technologies/downloads/) - Optional, for Java bindings

Toolset:
* 141 - Visual Studio 2017
* 142 - Visual Studio 2019 (Default)
* 143 - Visual Studio 2022

Expand All @@ -115,7 +114,7 @@

Optional CMake parameters:

-DSWIG_EXECUTABLE=C:/swigwin-4.0.2/swig.exe
-DSWIG_EXECUTABLE=C:/swigwin-4.1.1/swig.exe

After running the cmake build, digidoc_csharp.dll along with the C# source files will be created, more info at
[examples/DigiDocCSharp/README.md](examples/DigiDocCSharp/README.md).
Expand Down
3 changes: 1 addition & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ param(
[string]$vcpkg = "vcpkg\vcpkg.exe",
[string]$vcpkg_dir = (split-path -parent $vcpkg),
[string]$buildver = "0",
[string]$msiversion = "3.15.0.$buildver",
[string]$msiversion = "3.16.0.$buildver",
[string]$msi_name = "libdigidocpp-$msiversion$env:VER_SUFFIX.msi",
[string]$cmake = "cmake.exe",
[string]$generator = "NMake Makefiles",
Expand All @@ -25,7 +25,6 @@ param(

if (!$vcvars) {
switch ($toolset) {
'141' { $vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" }
'142' { $vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" }
'143' { $vcvars = "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" }
}
Expand Down
2 changes: 0 additions & 2 deletions libdigidocpp.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<?define VCVER = "143" ?>
<?elseif $(env.VisualStudioVersion) = "16.0" ?>
<?define VCVER = "142" ?>
<?elseif $(env.VisualStudioVersion) = "15.0" ?>
<?define VCVER = "141" ?>
<?endif?>
<?define VCPKG_X86 = "$(var.vcpkg)\installed\x86-$(var.vcpkg_suffix)\bin" ?>
<?define VCPKG_X64 = "$(var.vcpkg)\installed\x64-$(var.vcpkg_suffix)\bin" ?>
Expand Down
4 changes: 0 additions & 4 deletions patches/vcpkg-triplets/x64-windows-v141.cmake

This file was deleted.

4 changes: 0 additions & 4 deletions patches/vcpkg-triplets/x86-windows-v141.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion prepare_win_build_environment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ param(
[string]$vcpkg = "vcpkg\vcpkg.exe",
[string]$git = "git.exe",
[string]$7zip = "C:\Program Files\7-Zip\7z.exe",
[string]$toolset = "141",
[string]$toolset = "142",
[string]$xsdver = "xsd-4.0.0-i686-windows",
[switch]$openssl = $false,
[switch]$xerces = $false,
Expand Down
2 changes: 1 addition & 1 deletion src/digidoc-tool.1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ All commands:
--loglevel=[0,1,2,3,4] - Log level 0 - none, 1 - error, 2 - warning, 3 - info, 4 - debug
--logfile= - File to log, empty to console
.SH SEE ALSO
cdigidoc(1), qdigidoc4(1)
qdigidoc4(1)