-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 862 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on: [push]
jobs:
build-deb:
runs-on: ubuntu-latest
container:
image: ghcr.io/truenas/middleware:master
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup dev environment
run: /usr/bin/install-dev-tools
- name: Install Dependencies
run: apt update && apt install -y debhelper-compat dh-python python3-dev python3-setuptools devscripts
- name: Build deb package
run: >
dpkg-buildpackage
-B
--no-sign
-jauto
- name: Create artifacts dir
run: mkdir artifacts
if: success()
- name: Move artifacts
run: mv ../*.deb artifacts
if: success()
- uses: actions/upload-artifact@v4
with:
name: python3-ixdiagnose
path: artifacts
if: success()