Skip to content

Commit

Permalink
nm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Aug 3, 2023
1 parent 12e2d27 commit 4ddb3ad
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/network-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ jobs:
run: |
sudo sed -i '/deb-src/s/^# //' /etc/apt/sources.list
sudo apt update
sudo apt install autopkgtest ubuntu-dev-tools devscripts openvswitch-switch linux-modules-extra-$(uname -r)
# work around LP: #1878225 as fallback
- name: Preparing autopkgtest-build-lxd
run: |
sudo patch /usr/bin/autopkgtest-build-lxd .github/workflows/snapd.patch
autopkgtest-build-lxd ubuntu-daily:mantic
sudo apt install autopkgtest ubuntu-dev-tools devscripts sbuild openvswitch-switch linux-modules-extra-$(uname -r)
- name: Prepare test
run: |
pull-lp-source netplan.io
Expand All @@ -47,9 +42,19 @@ jobs:
REV=$(git rev-parse --short HEAD) # get current git revision
VER="$TAG+git~$REV"
dch -v "$VER" "Autopkgtest CI"
sudo apt -y build-dep ./
sudo apt -y install python3-cffi libpython3-dev
DEB_BUILD_OPTIONS=nocheck DPKG_GENSYMBOLS_CHECK_LEVEL=0 dpkg-buildpackage -b
sudo adduser root sbuild
sudo sg sbuild
sudo touch /root/.sbuildrc
sudo mk-sbuild mantic
sudo sbuild -dmantic --profiles=nocheck --add-depends=python3-cffi --add-depends=libpython3-dev
#sudo apt -y build-dep ./
#sudo apt -y install python3-cffi libpython3-dev
#DEB_BUILD_OPTIONS=nocheck DPKG_GENSYMBOLS_CHECK_LEVEL=0 dpkg-buildpackage -b
# work around LP: #1878225 as fallback
- name: Preparing autopkgtest-build-lxd
run: |
sudo patch /usr/bin/autopkgtest-build-lxd .github/workflows/snapd.patch
autopkgtest-build-lxd ubuntu-daily:mantic
- name: Run autopkgtest
run: |
# using --setup-commands temporarily to install:
Expand Down

0 comments on commit 4ddb3ad

Please sign in to comment.