- - name: Checkout Buildroot sources
- run: git clone --depth=1 --branch=2020.11.1 https://git.busybox.net/buildroot
+ - name: Retrieve prebuilt Buildroot image...
+ working-directory: /home/runner
+ run: |
+ wget https://github.com/ppp-project/ppp-ci/releases/download/${{ env.PPP_CI_VERSION }}/${{ env.BUILDROOT_DIRECTORY_NAME }}.tar.zst
+ tar -xf ${{ env.BUILDROOT_DIRECTORY_NAME }}.tar.zst
+ - name: Select latest PPP upstream version
+ working-directory: /home/runner/${{ env.BUILDROOT_DIRECTORY_NAME }}/package/pppd
+ run: |
+ # Get package sources from head of current branch
+ sed -i "/PPPD_VERSION =/c\\PPPD_VERSION = ${GITHUB_SHA}" pppd.mk
+ - name: Trigger a PPP package rebuild
+ working-directory: /home/runner/${{ env.BUILDROOT_DIRECTORY_NAME }}/output/build
+ run: rm -rf pppd*
+ - name: Build
+ working-directory: /home/runner/${{ env.BUILDROOT_DIRECTORY_NAME }}
+ run: make