]> git.ozlabs.org Git - ppp.git/commitdiff
Enabled PPPD package in Buildroot defconfig.
authorRICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>
Thu, 31 Dec 2020 13:08:10 +0000 (14:08 +0100)
committerRICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>
Fri, 1 Jan 2021 15:59:00 +0000 (16:59 +0100)
Signed-off-by: RICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>
.github/workflows/buildroot.yaml

index b7e804275c0a9ddeeaaf1d4294a99b0b4f026614..a80353b4d2f6d64a0839f7ea2c06b73ae2fd0f73 100644 (file)
@@ -4,6 +4,9 @@ on: [push]
 jobs:
   matrix_build:
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        defconfig_name: [qemu_x86_defconfig, qemu_x86_64_defconfig]
     steps:
       - name: Checkout Buildroot sources
         run: git clone --depth=1 --branch=2020.11.1 https://git.busybox.net/buildroot
@@ -18,6 +21,9 @@ jobs:
           sed -i '/PPPD_VERSION =/c\\PPPD_VERSION = master' pppd.mk
           sed -i '/PPPD_SITE =/c\\PPPD_SITE = https://github.com/paulusmack/ppp' pppd.mk
           sed -i '9iPPPD_MUSL_SITE_METHOD = git' pppd.mk
-          ls
-          cat Config.in
-          cat pppd.mk
+      - name: Enable PPP build
+        working-directory: buildroot
+        run: |
+          echo "BR2_PACKAGE_PPPD=y" >> configs/${{ matrix.defconfig_name }}
+          # TODO enable other PPP package options if needed
+          cat configs/${{ matrix.defconfig_name }}