Skip to content

Commit aef6180

Browse files
committed
github workflow: add support for Debian build
1 parent 42de4ef commit aef6180

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,17 @@ jobs:
113113
cmake DCMAKE_BUILD_TYPE=Release ..
114114
make
115115
116+
- name: Install Debian build Dependencies
117+
run: |
118+
sudo add-apt-repository universe
119+
sudo apt-get update
120+
sudo apt-get -y install whalebuilder dpkg-dev
121+
122+
- name: Test debian build
123+
run: |
124+
dpkg-source -b .
125+
sudo whalebuilder build --results focal_out whalebuilder/ubuntu:focal ../ryzenadj_*.dsc
126+
116127
- name: Test Scripts
117128
shell: bash
118129
run: |
@@ -131,3 +142,9 @@ jobs:
131142
fi
132143
exit 0
133144
145+
- name: Upload ryzenadj Debian
146+
uses: actions/upload-artifact@v3
147+
with:
148+
name: ryzenadj-ubuntu-focal-amd64
149+
path: |
150+
./focal_out/ryzenadj_*/*.*deb

0 commit comments

Comments
 (0)