Skip to content

Commit

Permalink
Merge pull request #208 from julianhille/feature/203-add-electron-21.0
Browse files Browse the repository at this point in the history
Add electron 21.0
  • Loading branch information
julianhille authored Nov 5, 2022
2 parents 896e112 + 4aea9f8 commit fc7000b
Show file tree
Hide file tree
Showing 10 changed files with 89 additions and 5 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
- run: npm install --only=dev
- run: npm install prettier
- run: npm run test:codestyle
build-musl:
needs: [lint]
Expand Down Expand Up @@ -84,6 +84,9 @@ jobs:
architecture: [x64, ia32, arm64]
electron:
[
21.2.0,
21.1.0,
21.0.0,
20.3.3,
20.2.0,
20.1.0,
Expand Down Expand Up @@ -122,7 +125,7 @@ jobs:
11.0.0,
]
include:
- electron_mocha_version: ^10
- electron_mocha_version: ^11
python_version: "3.10"
- architecture: arm64
architecture_node: x64
Expand All @@ -136,6 +139,12 @@ jobs:
target_architecture: x64
- architecture: x64
node: 16.13.2
- electron: 21.2.0
node: 16.16.0
- electron: 21.1.0
node: 16.16.0
- electron: 21.0.0
node: 16.16.0
- electron: 20.3.3
node: 16.15.0
- electron: 20.2.0
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Updated github actions to get rid of some deprecation warnings in gha ci
- Pin python 3 version for builds

### Added

- Electron 21.0.0, 21.1.0 and 21.2.0

## [3.2.0] - 2022-10-26

### Added
Expand All @@ -34,6 +38,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Electron 21.0
- Node 18
- Electron 20.0, 20.1, 20.2
- Prettier as dev dependency and basics
Expand Down
4 changes: 2 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
'./src/deps/PDFWriter',
'./src/deps/FreeType/include'
],
'msvs-settings':
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'-std:c++17',
'/std:c++17',
]
}
},
Expand Down
10 changes: 10 additions & 0 deletions src/deps/FreeType/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
'./include/freetype/internal',
'./include/freetype/internal/services'
],
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'/std:c++17',
]
}
},
'sources': [
'./src/base/ftbbox.c',
'./src/base/ftgxval.c',
Expand Down
10 changes: 10 additions & 0 deletions src/deps/LibAesgm/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
{
'target_name': 'libaesgm',
'type': 'static_library',
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'/std:c++17',
]
}
},
'sources': [
'aescrypt.c',
'aeskey.c',
Expand Down
10 changes: 10 additions & 0 deletions src/deps/LibJpeg/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
{
'target_name': 'libjpeg',
'type': 'static_library',
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'/std:c++17',
]
}
},
'sources': [
'jaricom.c',
'jcapimin.c',
Expand Down
12 changes: 11 additions & 1 deletion src/deps/LibPng/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@
],
'include_dirs': [
'<(module_root_dir)/src/deps/ZLib',
],
],
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'/std:c++17',
]
}
},
'sources': [
'png.c',
'pngerror.c',
Expand Down
10 changes: 10 additions & 0 deletions src/deps/LibTiff/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@
'include_dirs': [
'<(module_root_dir)/src/deps/ZLib',
],
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'/std:c++17',
]
}
},
'sources': [
'tif_aux.c',
'tif_close.c',
Expand Down
10 changes: 10 additions & 0 deletions src/deps/PDFWriter/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
}
}]
],
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'/std:c++17',
]
}
},
'dependencies': [
'<(module_root_dir)/src/deps/LibAesgm/binding.gyp:libaesgm',
'<(module_root_dir)/src/deps/FreeType/binding.gyp:freetype',
Expand Down
10 changes: 10 additions & 0 deletions src/deps/ZLib/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
{
'target_name': 'zlib',
'type': 'static_library',
'msvs_settings':
{
'VCCLCompilerTool':
{
'AdditionalOptions':
[
'/std:c++17',
]
}
},
'sources': [
'adler32.c',
'compress.c',
Expand Down

0 comments on commit fc7000b

Please sign in to comment.