aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-archlinux.yml5
-rw-r--r--.github/workflows/build-centos.yml10
-rw-r--r--.github/workflows/build-openwrt.yml4
-rw-r--r--.github/workflows/build.yml5
4 files changed, 21 insertions, 3 deletions
diff --git a/.github/workflows/build-archlinux.yml b/.github/workflows/build-archlinux.yml
index ea018746e..b0a12f79c 100644
--- a/.github/workflows/build-archlinux.yml
+++ b/.github/workflows/build-archlinux.yml
@@ -29,3 +29,8 @@ jobs:
debug: true
target: 'pkgbuild'
pkgname: 'packages/ndpid-testing'
+ - name: Upload PKG
+ uses: actions/upload-artifact@v3
+ with:
+ name: nDPId-archlinux-packages
+ path: packages/ndpid-testing/*.pkg.tar.zst
diff --git a/.github/workflows/build-centos.yml b/.github/workflows/build-centos.yml
index dd1f88a0e..0eea3dd45 100644
--- a/.github/workflows/build-centos.yml
+++ b/.github/workflows/build-centos.yml
@@ -32,7 +32,7 @@ jobs:
yum -y install yum-utils dnf-plugins-core epel-release
dnf config-manager --set-enabled powertools
yum -y update
- yum -y install gcc gcc-c++ autoconf automake make cmake flex bison gettext pkg-config libtool ndpi-dev libpcap-devel zlib-devel python3.8 git wget unzip /usr/lib64/libasan.so.5.0.0 /usr/lib64/libubsan.so.1.0.0
+ yum -y install rpm-build gcc gcc-c++ autoconf automake make cmake flex bison gettext pkg-config libtool ndpi-dev libpcap-devel zlib-devel python3.8 git wget unzip /usr/lib64/libasan.so.5.0.0 /usr/lib64/libubsan.so.1.0.0
repoquery -l ndpi-dev
- name: Configure nDPId
run: |
@@ -41,6 +41,14 @@ jobs:
- name: Build nDPId
run: |
make -C build all VERBOSE=1
+ - name: CPack RPM
+ run: |
+ cd ./build && cpack -G RPM && cd ..
+ - name: Upload RPM
+ uses: actions/upload-artifact@v3
+ with:
+ name: nDPId-centos-packages
+ path: build/*.rpm
- name: Upload on Failure
uses: actions/upload-artifact@v3
if: failure()
diff --git a/.github/workflows/build-openwrt.yml b/.github/workflows/build-openwrt.yml
index b134cd36e..3984246a9 100644
--- a/.github/workflows/build-openwrt.yml
+++ b/.github/workflows/build-openwrt.yml
@@ -59,7 +59,7 @@ jobs:
PACKAGES: nDPId-testing
- name: Store packages
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
- name: ${{ matrix.arch}}-packages
+ name: nDPId-${{ matrix.arch}}-${{ matrix.target }}
path: bin/packages/${{ matrix.arch }}/ndpid_openwrt_packages_ci/*.ipk
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 74ad276ad..bd7fb70d4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -102,6 +102,11 @@ jobs:
- name: CPack DEB
run: |
cd ./build && cpack -G DEB && sudo dpkg -i nDPId-*.deb && cd ..
+ - name: Upload DEB
+ uses: actions/upload-artifact@v3
+ with:
+ name: nDPId-debian-packages
+ path: build/*.deb
- name: systemd test
if: startsWith(matrix.os, 'ubuntu-latest') && startsWith(matrix.compiler, 'default-cc')
run: |