mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 22:30:08 +00:00
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -54,21 +54,19 @@ jobs:
|
||||
|
||||
- name: Build Go binaries
|
||||
run: |
|
||||
cd cmd/analyze
|
||||
go build -o analyze.exe .
|
||||
cd ../status
|
||||
go build -o status.exe .
|
||||
go build -o bin/analyze.exe ./cmd/analyze/
|
||||
go build -o bin/status.exe ./cmd/status/
|
||||
shell: pwsh
|
||||
|
||||
- name: Verify binaries
|
||||
run: |
|
||||
if (Test-Path cmd/analyze/analyze.exe) {
|
||||
if (Test-Path bin/analyze.exe) {
|
||||
Write-Host "analyze.exe built successfully"
|
||||
} else {
|
||||
Write-Host "Failed to build analyze.exe"
|
||||
exit 1
|
||||
}
|
||||
if (Test-Path cmd/status/status.exe) {
|
||||
if (Test-Path bin/status.exe) {
|
||||
Write-Host "status.exe built successfully"
|
||||
} else {
|
||||
Write-Host "Failed to build status.exe"
|
||||
|
||||
Reference in New Issue
Block a user