Merge pull request #290 from truenas/NAS-132126-24.10.1 #748
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build-deb: | |
runs-on: ubuntu-latest | |
container: | |
image: ixsystems/zfs:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Install Dependencies | |
run: | | |
apt update | |
apt install -y debhelper-compat dh-python cython3 python3-all-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: py-libzfs | |
path: artifacts | |
if: success() |