Skip to content

Commit 21e2df6

Browse files
authored
ci: refactor Auto compilation testing workflow
Testing begins at the PR stage. Streamlined Test Architecture Covering the Entire Instruction Set Standardize the use of snapshot testing.
1 parent 9a2923e commit 21e2df6

1 file changed

Lines changed: 16 additions & 25 deletions

File tree

.github/workflows/Auto compilation testing v2.yml

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@
66
name: Auto compilation testing v2
77

88
on:
9-
push:
9+
#push:
10+
# branches:
11+
# - main
12+
# paths-ignore:
13+
# - '**.md'
14+
# - '.github/**'
15+
pull_request:
1016
branches:
1117
- main
1218
paths-ignore:
1319
- '**.md'
1420
- '.github/**'
15-
pull_request:
16-
paths-ignore:
17-
- '**.md'
18-
- '.github/**'
1921
env:
2022
TZ: Asia/Shanghai
2123

@@ -26,25 +28,14 @@ jobs:
2628
strategy:
2729
fail-fast: false
2830
matrix:
29-
# 使用 -snapshot 后缀拉取最新的滚动开发版 SDK 镜像
31+
# 这些架构我感觉应该可以覆盖了全部主流指令集:包含 x86, ARM64, ARM32, MIPS (LE), MIPS (BE)。
3032
arch:
31-
- x86-64-snapshot
32-
- rockchip-armv8-snapshot
33-
- mvebu-cortexa53-snapshot
34-
- mvebu-cortexa72-snapshot
35-
- at91-sama5-snapshot
36-
- mediatek-mt7629-snapshot
37-
- sunxi-cortexa7-snapshot
38-
- sunxi-cortexa8-snapshot
39-
- bcm53xx-generic-snapshot
40-
- zynq-generic-snapshot
41-
- mvebu-cortexa9-snapshot
42-
- ipq806x-generic-snapshot
43-
- ath79-generic-snapshot
44-
- realtek-rtl838x-snapshot
45-
- ramips-rt288x-snapshot
46-
- ramips-rt3883-snapshot
47-
- bcm47xx-generic-snapshot
33+
- x86-64
34+
- rockchip-armv8
35+
- sunxi-cortexa7
36+
- ramips-rt288x
37+
- ath79-generic
38+
- ipq806x-generic
4839

4940
steps:
5041
- name: Checkout code
@@ -83,7 +74,7 @@ jobs:
8374
if: env.SKIP_BUILD == 'false'
8475
uses: openwrt/gh-action-sdk@main
8576
env:
86-
ARCH: ${{ matrix.arch }}
77+
ARCH: ${{ matrix.arch }}-snapshot
8778
FEEDNAME: passwall_packages
8879
PACKAGES: ${{ env.PACKAGES }}
89-
V: s
80+
V: s

0 commit comments

Comments
 (0)