Skip to content
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 fix helper test #18

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mkdir -p /var/lock/

opkg update

[ -n "${CI_HELPER:=''}" ] || CI_HELPER="/ci/.github/workflows/ci_helpers.sh"
export CI_HELPER="/ci/.github/workflows/ci_helpers.sh"

for PKG in /ci/*.ipk; do
tar -xzOf "$PKG" ./control.tar.gz | tar xzf - ./control
Expand Down Expand Up @@ -42,7 +42,7 @@ for PKG in /ci/*.ipk; do
continue
fi

export PKG_NAME PKG_VERSION CI_HELPER
export PKG_NAME PKG_VERSION

if [ -f "$PRE_TEST_SCRIPT" ]; then
echo "Use package specific pre-test.sh"
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/multi-arch-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,42 +19,6 @@ jobs:
target: armsr-armv8
runtime_test: true

- arch: arm_cortex-a15_neon-vfpv4
target: armsr-armv7
runtime_test: true

- arch: arm_cortex-a9_vfpv3-d16
target: mvebu-cortexa9
runtime_test: false

- arch: i386_pentium-mmx
target: x86-geode
runtime_test: true

- arch: mips_24kc
target: ath79-generic
runtime_test: true

- arch: mipsel_24kc
target: mt7621
runtime_test: false

- arch: powerpc_464fp
target: apm821xx-nand
runtime_test: false

- arch: powerpc_8548
target: mpc85xx-p1010
runtime_test: false

- arch: riscv64_riscv64
target: sifiveu-generic
runtime_test: false

- arch: x86_64
target: x86-64
runtime_test: true

steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion utils/slide-switch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=slide-switch
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/jefferyto/openwrt-slide-switch.git
Expand Down
5 changes: 5 additions & 0 deletions utils/slide-switch/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

echo "$CI_HELPER"

. "$CI_HELPER"
Loading