alt-f: 2023.05.02-alpha pre-release #21
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: unstable-package-builder | |
on: | |
push: | |
branches: [ next ] | |
pull_request: | |
branches: [ next ] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Install | |
run: sudo apt-get update -qqy && sudo apt-get install -qqy devio git rsync | |
- name: Build | |
run: | | |
echo "building base firmware with armv7 kernel modules..." | |
make alt-f_base_defconfig | |
sed -i 's,base,dns327,g' .config | |
sed -i 's,pkgs/linux.config,dns327/linux.config,g' .config | |
make | |
fakeroot ./board/dns32x/mkpkg.sh -force kernel-modules-armv7 | |
echo "reconfiguring for armv5 kernel..." | |
rm -fR ./output/target/usr/lib/modules/* ./output/build/linux-{4,5}* | |
make alt-f_base_defconfig | |
make | |
echo "building packages..." | |
./board/dns32x/build-pkgs.sh | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ACCESS_TOKEN: ${{ secrets.CROSS_DEPLOY_KEY }} | |
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | |
REPOSITORY_NAME: awanga/alt-f-next_binaries | |
BRANCH: pkgs/unstable # The branch the action should deploy to. | |
FOLDER: output/pkgs # The folder the action should deploy. |