File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -174,3 +174,41 @@ jobs:
174174 name : lumos-${{ matrix.platform }}-${{ inputs.version || 'dev' }}
175175 path : lumos-${{ matrix.platform }}-${{ inputs.version || 'dev' }}.tar.gz
176176 retention-days : 90
177+
178+ test-binaries :
179+ name : Test ${{ matrix.platform }} Binary
180+ needs : build-binaries
181+ runs-on : ${{ matrix.runner }}
182+ strategy :
183+ fail-fast : false
184+ matrix :
185+ include :
186+ - runner : ubuntu22-2cpu-amd64
187+ platform : linux-amd64
188+ - runner : ubuntu22-2cpu-arm64
189+ platform : linux-arm64
190+ - runner : macos-latest
191+ platform : macos-arm64
192+ - runner : windows-latest
193+ platform : windows
194+
195+ steps :
196+ - name : Download binary artifact
197+ uses : actions/download-artifact@v4
198+ with :
199+ name : lumos-${{ matrix.platform }}-${{ inputs.version || 'dev' }}
200+
201+ - name : Extract and test binary (Unix)
202+ if : matrix.platform != 'windows'
203+ shell : bash
204+ run : |
205+ tar -xzf lumos-${{ matrix.platform }}-${{ inputs.version || 'dev' }}.tar.gz
206+ chmod +x lumos
207+ ./lumos --version
208+
209+ - name : Extract and test binary (Windows)
210+ if : matrix.platform == 'windows'
211+ shell : pwsh
212+ run : |
213+ tar -xzf lumos-${{ matrix.platform }}-${{ inputs.version || 'dev' }}.tar.gz
214+ .\lumos.exe --version
You can’t perform that action at this time.
0 commit comments