Skip to content

Commit

Permalink
[CI][linux] Separate flow to build DEB and RPM packages
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
  • Loading branch information
AenBleidd committed Jul 3, 2023
1 parent dc85ad4 commit 452f318
Show file tree
Hide file tree
Showing 19 changed files with 734 additions and 927 deletions.
273 changes: 0 additions & 273 deletions .github/workflows/deb-package.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/debrepo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# This file is part of BOINC.
# http://boinc.berkeley.edu
# Copyright (C) 2023 University of California
#
# BOINC is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# BOINC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with BOINC. If not, see <http://www.gnu.org/licenses/>.

# example build usage:
# LINUX: export BUILDKIT_PROGRESS=plain
# WINDOWS: set BUILDKIT_PROGRESS=plain
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debrepo/aptly.bullseye.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"S3PublishEndpoints": {},
"SwiftPublishEndpoints": {},
"enableMetricsEndpoint": false,
"logLevel": "debug",
"logLevel": "info",
"logFormat": "default",
"serveInAPIMode": false
}
2 changes: 1 addition & 1 deletion .github/workflows/debrepo/aptly.buster.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"S3PublishEndpoints": {},
"SwiftPublishEndpoints": {},
"enableMetricsEndpoint": false,
"logLevel": "debug",
"logLevel": "info",
"logFormat": "default",
"serveInAPIMode": false
}
2 changes: 1 addition & 1 deletion .github/workflows/debrepo/aptly.focal.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"S3PublishEndpoints": {},
"SwiftPublishEndpoints": {},
"enableMetricsEndpoint": false,
"logLevel": "debug",
"logLevel": "info",
"logFormat": "default",
"serveInAPIMode": false
}
2 changes: 1 addition & 1 deletion .github/workflows/debrepo/aptly.jammy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"S3PublishEndpoints": {},
"SwiftPublishEndpoints": {},
"enableMetricsEndpoint": false,
"logLevel": "debug",
"logLevel": "info",
"logFormat": "default",
"serveInAPIMode": false
}
25 changes: 21 additions & 4 deletions .github/workflows/debrepo/package_depends.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#!/bin/bash

# This file is part of BOINC.
# http://boinc.berkeley.edu
# Copyright (C) 2023 University of California
#
# BOINC is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# BOINC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with BOINC. If not, see <http://www.gnu.org/licenses/>.

# See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps for the values
# accepted by the "Depends" field

Expand All @@ -11,18 +28,18 @@ function exit_usage() {

case "$1_$2" in
# ubuntu distros
"jammy_linux_client-vcpkg")
"jammy_linux_client")
echo "libc6,libxss1 (>= 1.2.3)"
;;
"focal_linux_client-vcpkg")
"focal_linux_client")
echo "libc6,libxss1 (>= 1.2.3)"
;;

# debian distros
"bullseye_linux_client-vcpkg")
"bullseye_linux_client")
echo "libc6,libxss1 (>= 1.2.3)"
;;
"buster_linux_client-vcpkg")
"buster_linux_client")
echo "libc6,libxss1 (>= 1.2.3)"
;;

Expand Down
Loading

0 comments on commit 452f318

Please sign in to comment.