Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
act test
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Aug 1, 2024
1 parent 0db0d2a commit dc6266a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: EkkoG/openwrt-packages-version-checker@main
env:
COMMIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: zfl9/chinadns-ng
BRANCH: master
SOURCE_URL: https://github.com/zfl9/chinadns-ng/archive/refs/tags/{{version}}.tar.gz

- name: Check new version
shell: bash
run: |
./update.sh
- name: Commit and push
run: |
git config --local user.name "GitHub Action"
git config --local user.email "[email protected]"
git add Makefile
git diff-index --cached --quiet HEAD Makefile \
|| (git commit -m "update to $(sed -En 's|^\s*PKG_VERSION\s*:=(.*)|\1|p' Makefile)" && git push)
26 changes: 13 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=chinadns-ng
PKG_VERSION:=2024.07.21
PKG_VERSION:=2024.06.21
PKG_RELEASE:=1

ifeq ($(ARCH),aarch64)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl_noasm@aarch64-linux-musl@generic+v8a@fast+lto
PKG_HASH:=9414c8f237b8a919d411fb38a7d2aa83c7617ae441695af54ea84feb22b0639c
PKG_HASH:=1239414c8f237b8a919d411fb38a7d2aa83c7617ae441695af54ea84feb22b0639c
else ifeq ($(ARCH),arm)
# Referred to golang/golang-values.mk
ARM_CPU_FEATURES:=$(word 2,$(subst +,$(space),$(call qstrip,$(CONFIG_CPU_TYPE))))
ifeq ($(ARM_CPU_FEATURES),)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@arm-linux-musleabi@generic+v5t+soft_float@fast+lto
PKG_HASH:=3d1a89bdc413f6922df43f2c1a18f199e83ec7e5d6d68961a10229a73188b07a
PKG_HASH:=1233d1a89bdc413f6922df43f2c1a18f199e83ec7e5d6d68961a10229a73188b07a
else ifneq ($(filter $(ARM_CPU_FEATURES),vfp vfpv2),)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@arm-linux-musleabi@generic+v6+soft_float@fast+lto
PKG_HASH:=d9095d72dba4018c21ab794c81e467011eee8b3582822a3fa45b803bfdf0d4fa
PKG_HASH:=123d9095d72dba4018c21ab794c81e467011eee8b3582822a3fa45b803bfdf0d4fa
else
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@arm-linux-musleabihf@generic+v7a@fast+lto
PKG_HASH:=61fff30848f687d93e58bb91029252818d76e0980d4d32fd2bf6d67dfa51cd4f
PKG_HASH:=12361fff30848f687d93e58bb91029252818d76e0980d4d32fd2bf6d67dfa51cd4f
endif
else ifeq ($(ARCH),i386)
ifneq ($(CONFIG_TARGET_x86_geode)$(CONFIG_TARGET_x86_legacy),)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@i386-linux-musl@i686@fast+lto
PKG_HASH:=8fd1f8cc1ee5f24a10a45367d3444a7af0618f01bf5ea1d14c8bfac856062a23
PKG_HASH:=123123
else
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@i386-linux-musl@pentium4@fast+lto
PKG_HASH:=15983518255abc1849b13352763112442388519109625a9fcd92f50e05831b1c
PKG_HASH:=12315983518255abc1849b13352763112442388519109625a9fcd92f50e05831b1c
endif
else ifeq ($(ARCH),mips)
ifeq ($(CPU_TYPE),mips32)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@mips-linux-musl@mips32+soft_float@fast+lto
PKG_HASH:=1b804d4c450d10cb6f91ac0656121bf9fd3e499f15ea569770b8d5523d5290c2
PKG_HASH:=1231b804d4c450d10cb6f91ac0656121bf9fd3e499f15ea569770b8d5523d5290c2
else
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@mips-linux-musl@mips32r2+soft_float@fast+lto
PKG_HASH:=a8c0644d5c9715dadafa7890cd24a911718a71f58a4328b426cb9a239c1a2cde
PKG_HASH:=123a8c0644d5c9715dadafa7890cd24a911718a71f58a4328b426cb9a239c1a2cde
endif
else ifeq ($(ARCH),mipsel)
ifeq ($(CPU_TYPE),)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@mipsel-linux-musl@mips32+soft_float@fast+lto
PKG_HASH:=82d07d148e2c20d4247df7baa0421f1c365954c0953e0e0fbe76e1cd78d1f1b2
PKG_HASH:=12382d07d148e2c20d4247df7baa0421f1c365954c0953e0e0fbe76e1cd78d1f1b2
else ifeq ($(CONFIG_HAS_FPU),)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@mipsel-linux-musl@mips32r2+soft_float@fast+lto
PKG_HASH:=375453bc696e3cd11dda7476c99aaca0933f6f282a909a2220d459e4624ba550
PKG_HASH:=123375453bc696e3cd11dda7476c99aaca0933f6f282a909a2220d459e4624ba550
else
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@mipsel-linux-musl@mips32r2@fast+lto
PKG_HASH:=fadbf0d08e154922431a29a1d5f63b0347e0728886a23f2fed836c0b908f07f8
PKG_HASH:=123fadbf0d08e154922431a29a1d5f63b0347e0728886a23f2fed836c0b908f07f8
endif
else ifeq ($(ARCH),x86_64)
PKG_SOURCE_URL_FILE:=$(PKG_NAME)+wolfssl@x86_64-linux-musl@x86_64@fast+lto
PKG_HASH:=8d600757acf4fcb6250aef6ba5bf19d9a2182a188e900d1201381ab0a52a5463
PKG_HASH:=1238d600757acf4fcb6250aef6ba5bf19d9a2182a188e900d1201381ab0a52a5463
else
PKG_SOURCE_URL_FILE:=dummy
PKG_HASH:=dummy
Expand Down

0 comments on commit dc6266a

Please sign in to comment.