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

Add linux build workflow. Update linux version. Modify rules for build workflows #12

Merged
merged 5 commits into from
Sep 14, 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
38 changes: 38 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and upload NZBGet for Linux

on:
push:
branches:
- develop
- master
workflow_dispatch:

jobs:
build:
runs-on: [self-hosted, linux]

steps:

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Build
run: |
rm -rf /build/nzbget
cp -r . /build/nzbget
cd /build
docker run -e ALL_ARCHS="i686 x86_64 armhf armel" -v /build:/build nzbget-build /build/scripts/build-nzbget-ci.sh

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: nzbget-linux-installers
path: /build/output/*.run
retention-days: 5

- name: Cleanup
run: |
rm -rf /build/nzbget
rm -rf /build/output
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Build and upload NZBGet for Windows
on:
push:
branches:
- feature-*
- develop
- master
workflow_dispatch:

jobs:
build:
Expand All @@ -23,6 +23,6 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: nzbget-installers
name: nzbget-windows-installers
path: C:\nzbget\build\output\*.exe
retention-days: 5
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for nzbget 21.2-testing.
# Generated by GNU Autoconf 2.69 for nzbget 22.0.
#
# Report bugs to <hugbug@users.sourceforge.net>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='nzbget'
PACKAGE_TARNAME='nzbget'
PACKAGE_VERSION='21.2-testing'
PACKAGE_STRING='nzbget 21.2-testing'
PACKAGE_VERSION='22.0'
PACKAGE_STRING='nzbget 22.0'
PACKAGE_BUGREPORT='hugbug@users.sourceforge.net'
PACKAGE_URL=''

Expand Down Expand Up @@ -1348,7 +1348,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures nzbget 21.2-testing to adapt to many kinds of systems.
\`configure' configures nzbget 22.0 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1419,7 +1419,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of nzbget 21.2-testing:";;
short | recursive ) echo "Configuration of nzbget 22.0:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1584,7 +1584,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
nzbget configure 21.2-testing
nzbget configure 22.0
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2053,7 +2053,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by nzbget $as_me 21.2-testing, which was
It was created by nzbget $as_me 22.0, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -3026,7 +3026,7 @@ fi

# Define the identity of the package.
PACKAGE='nzbget'
VERSION='21.2-testing'
VERSION='22.0'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -9163,7 +9163,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by nzbget $as_me 21.2-testing, which was
This file was extended by nzbget $as_me 22.0, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -9229,7 +9229,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
nzbget config.status 21.2-testing
nzbget config.status 22.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.65)
AC_INIT(nzbget, 21.2-testing, hugbug@users.sourceforge.net)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here we should change mail adress too I think

AC_INIT(nzbget, 22.0, hugbug@users.sourceforge.net)
AC_CONFIG_AUX_DIR(posix)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([foreign subdir-objects])
Expand Down