@@ -61,133 +61,3 @@ jobs:
6161 name : ci-logs-${{ github.run_id }}
6262 path : starry-test-harness/logs/ci
6363 if-no-files-found : warn
64- name : Starry Test Harness CI Test
65-
66- on :
67- workflow_run :
68- workflows :
69- - Build and Test
70- types :
71- - completed
72-
73- jobs :
74- ci-test :
75- if : ${{ github.event.workflow_run.conclusion == 'success' }}
76- runs-on : ubuntu-latest
77- env :
78- ARCH : aarch64
79- STARRYOS_REMOTE : https://github.com/Starry-OS/StarryOS.git
80- STARRYOS_REF : main
81- STARRYOS_ROOT : ${{ github.workspace }}/.cache/StarryOS
82- steps :
83- - name : Checkout Starry Test Harness
84- uses : actions/checkout@v4
85- with :
86- repository : kylin-x-kernel/starry-test-harness
87- path : starry-test-harness
88-
89- - name : Install Rust cache for harness
90- uses : Swatinem/rust-cache@v2
91- with :
92- shared-key : starry-ci-harness
93-
94- - name : Install musl toolchain
95- uses : arceos-org/setup-musl@v1
96- with :
97- arch : ${{ env.ARCH }}
98-
99- - name : Install QEMU
100- uses : arceos-org/setup-qemu@v1
101- with :
102- version : 10.1.0
103- arch_list : ${{ env.ARCH }}
104-
105- - name : Install filesystem tools
106- run : sudo apt-get update && sudo apt-get install -y e2fsprogs
107-
108- - name : 执行 ci-test
109- working-directory : starry-test-harness
110- run : make ci-test run
111-
112- - name : Dump suite logs
113- working-directory : starry-test-harness
114- if : always()
115- run : |
116- if [ -d logs/ci ]; then
117- find logs/ci -name 'suite.log' -print -exec sh -c 'echo "::group::{}"; cat "$1"; echo "::endgroup::"' _ {} \;
118- else
119- echo "logs/ci not found"
120- fi
121-
122- - name : Upload suite artifacts
123- if : always()
124- uses : actions/upload-artifact@v4
125- with :
126- name : ci-logs-${{ github.run_id }}
127- path : starry-test-harness/logs/ci
128- if-no-files-found : warn
129- name : Starry Test Harness CI Test
130-
131- on :
132- workflow_run :
133- workflows :
134- - Build and Test
135- types :
136- - completed
137-
138- jobs :
139- ci-test :
140- if : ${{ github.event.workflow_run.conclusion == 'success' }}
141- runs-on : ubuntu-latest
142- env :
143- ARCH : aarch64
144- STARRYOS_REMOTE : https://github.com/Starry-OS/StarryOS.git
145- STARRYOS_REF : main
146- STARRYOS_ROOT : ${{ github.workspace }}/.cache/StarryOS
147- steps :
148- - name : Checkout Starry Test Harness
149- uses : actions/checkout@v4
150- with :
151- repository : kylin-x-kernel/starry-test-harness
152- path : starry-test-harness
153-
154- - name : Install Rust cache for harness
155- uses : Swatinem/rust-cache@v2
156- with :
157- shared-key : starry-ci-harness
158-
159- - name : Install musl toolchain
160- uses : arceos-org/setup-musl@v1
161- with :
162- arch : ${{ env.ARCH }}
163-
164- - name : Install QEMU
165- uses : arceos-org/setup-qemu@v1
166- with :
167- version : 10.1.0
168- arch_list : ${{ env.ARCH }}
169-
170- - name : Install filesystem tools
171- run : sudo apt-get update && sudo apt-get install -y e2fsprogs
172-
173- - name : 执行 ci-test
174- working-directory : starry-test-harness
175- run : make ci-test run
176-
177- - name : Dump suite logs
178- working-directory : starry-test-harness
179- if : always()
180- run : |
181- if [ -d logs/ci ]; then
182- find logs/ci -name 'suite.log' -print -exec sh -c 'echo "::group::{}"; cat "$1"; echo "::endgroup::"' _ {} \;
183- else
184- echo "logs/ci not found"
185- fi
186-
187- - name : Upload suite artifacts
188- if : always()
189- uses : actions/upload-artifact@v4
190- with :
191- name : ci-logs-${{ github.run_id }}
192- path : starry-test-harness/logs/ci
193- if-no-files-found : warn
0 commit comments