-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add multi branch build; add initial support for apk #1139
base: master
Are you sure you want to change the base?
Conversation
modify various packages to use libremesh.mk. drop the package lua-argparse since it is available in openwrt feeds. adapt packages to apk version schema.
1ec656c
to
4c60693
Compare
push un-pushed fixes: external_repositories was set to fork. update apk repositories file to reflect latest changes in openwrt, |
Wow this is a huge amount of work! |
I'm doing some fixes [done] the new workflow build.yml should be added soon because next push will use openwrt-main with apk, thus not building almost every lime-packages because of incorrect PKG_VERSION Yes it is related 1135 to because to use shared-state-async on new builds based on 24.10.x or 23.05.x you should use the feed libremesh_arch_packages if you look for a precompiled one, es: |
lime-system: add apk option in 92_add-lime-repos ci: update feeds scheme to build C++ packages for 3 lastest openwrt branches the new scheme make these packages available at https://github.com/libremesh/lime-feed referenced by apk in /etc/apk/repositories as @libremesh_arch_packages https://feed.libremesh.org/arch_packages/master/openwrt_main/x86_64/packages.adb ci: disable sign packages in main openwrt branch not yet supported, there is an active pull Support sign apk feed openwrt/gh-action-sdk#46 to install packages use "apk add --allow-untrusted lime-docs"
4c60693
to
5061394
Compare
it should be now ready |
I confirm that the fail on publishing is fixed since packages are now produced in this fork I updated the description adding more notes on this. |
Just noticed the fail of job build packages with Merge pull request #1133 from henmohr/issue/1077 |
…ild: calculate DEST_DIR once
…ename openwrt_branch_path
These changes are made:
build.yml
, because openwrt now distribute sdk snapshots differentlybuild.yml
to use the new package manager apk and produce a feed at: https://feed.libremesh.org/apk/master, while keeping the default feed for opkgdefault from 2024-11-17-1731861652 to 2024.11.17~1731861652
https://feed.libremesh.org/arch_packages/master/openwrt_main/x86_64/packages.adb
https://feed.libremesh.org/arch_packages/master/openwrt_24.10/x86_64/Packages
https://feed.libremesh.org/arch_packages/master/openwrt_23.05/x86_64/Packages
NO_DEFAULT_FEEDS: 1
to do so, thus reducing the build time from 1h 15min to 7-10minDetails:
chore: add include libremesh.mk in more packages
modify various packages to use libremesh.mk
related to the issue #766
drop the package lua-argparse since it is available in openwrt feeds.
modify PKG_VERSION to follow apk semantics:
use by default $(GIT_COMMIT_DATE)
$(GIT_COMMIT_TSTAMP)1731788517like 2024.11.16
if a specific PKG_VERSION is not defined
From openwrt/packages:
Preparations to switch to APK package manager openwrt/packages#23706
ci: update feeds scheme to build C++ packages for 3 latest openwrt branches
the new scheme make these packages available at
https://github.com/libremesh/lime-feed/
referenced by apk in /etc/apk/repositories as
@libremesh_arch_packages https://feed.libremesh.org/arch_packages/master/openwrt_main/x86_64/packages.adb
ci: disable sign packages in main openwrt branch
not yet supported, there is an active pull
Support sign apk feed openwrt/gh-action-sdk#46
to install packages use "apk add --allow-untrusted lime-docs"
lime-system: add apk option in 92_add-lime-repos
chore: update README.md with instruction for apk