-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from nzbgetcom/develop
## Description - Features: - ASUSTOR support - the package (ADM 4.3+) is available from the [nzbget-asustor](https://github.com/nzbgetcom/nzbget-asustor) repository and from the ASUSTOR App Central - Bug fixes: - Fixed multiple bugs related to bad support of long-paths on Windows [#441](#441) - Fixed ARMv5 arch support [#451](#451) - For developers: - Fixed homebrew CI build, macOS ARM64 with Xcode 16, Boost.JSON build via CMake [#444](#444)
- Loading branch information
Showing
50 changed files
with
574 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ on: | |
push: | ||
branches: | ||
- develop | ||
- main | ||
tags: | ||
- "v*" | ||
workflow_dispatch: | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
windows-tests: | ||
runs-on: windows-2022 | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download and extract vcpkg cache | ||
run: | | ||
$ProgressPreference = "SilentlyContinue" | ||
Invoke-WebRequest https://github.com/nzbgetcom/build-files/releases/download/v1.0/vcpkg-windows-tests.zip -OutFile "${{ github.workspace }}\vcpkg.zip" | ||
Expand-Archive -Path "${{ github.workspace }}\vcpkg.zip" -DestinationPath "${{ github.workspace }}" | ||
- name: Build | ||
run: | | ||
New-Item build -ItemType Directory -Force | Out-Null | ||
cd build | ||
cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static -DBUILD_ONLY_TESTS=ON | ||
cmake --build . --config Release -j 4 | ||
- name: Test | ||
run: | | ||
cd build | ||
ctest -C Release | ||
- name: Upload test artifacts | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: nzbget-windows-test-log | ||
path: build/Testing/Temporary/LastTest.log | ||
retention-days: 5 | ||
|
||
linux-tests: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
|
||
- name: Prepare environment | ||
run: | | ||
sudo apt-get install -y cmake libxml2-dev libssl-dev libncurses-dev libboost-all-dev | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -DBUILD_ONLY_TESTS=ON | ||
cmake --build . --config Release -j 4 | ||
- name: Test | ||
run: | | ||
cd build | ||
ctest -C Release | ||
- name: Upload test artifacts | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: nzbget-linux-test-log | ||
path: build/Testing/Temporary/LastTest.log | ||
retention-days: 5 | ||
|
||
macos-tests: | ||
runs-on: macos-14 | ||
steps: | ||
|
||
- name: Install dependencies | ||
run: | ||
brew install --formula boost | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -DBUILD_ONLY_TESTS=ON | ||
cmake --build . --config Release -j 4 | ||
- name: Test | ||
run: | | ||
cd build | ||
ctest -C Release | ||
- name: Upload test artifacts | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: nzbget-linux-test-log | ||
path: build/Testing/Temporary/LastTest.log | ||
retention-days: 5 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Security Policy | ||
|
||
If you believe you have found a security vulnerability in NZBGet, please report it to us as described below. | ||
|
||
## Reporting Security Issues | ||
|
||
Please do not report security vulnerabilities through public GitHub issues. Instead, please use GitHubs private vulnerability reporting functionality associated to this repository. | ||
|
||
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: | ||
1. Type of issue | ||
2. Step-by-step instructions to reproduce the issue | ||
3. Proof-of-concept or exploit code (if possible) | ||
4. Potential impact of the issue, including how an attacker might exploit the issue | ||
|
||
This information will help us review your report faster. | ||
|
||
This security policy only applies to the most recent stable branch of NZBGet. Flaws in old versions that are not present in the current stable branch will not be fixed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.