diff --git a/.gitea/workflows/go-test.yml b/.gitea/workflows/go-test.yml index 3650a88..fbf8cd1 100644 --- a/.gitea/workflows/go-test.yml +++ b/.gitea/workflows/go-test.yml @@ -19,18 +19,12 @@ jobs: strategy: matrix: include: - # AMD64 testing across major platforms + # AMD64 testing on Linux - os: ubuntu-latest goarch: amd64 - - os: windows-latest - goarch: amd64 - - os: macos-latest - goarch: amd64 - # ARM64 testing on supported platforms + # ARM64 testing on Linux - os: ubuntu-latest goarch: arm64 - - os: macos-latest - goarch: arm64 runs-on: ${{ matrix.os }} @@ -66,23 +60,11 @@ jobs: echo "Testing build for current platform (${{ matrix.os }}, ${{ matrix.goarch }})..." go build -v ./cmd/reticulum-go - - name: Test binary execution (Linux/macOS) - if: matrix.os != 'windows-latest' + - name: Test binary execution run: | echo "Testing binary execution on (${{ matrix.os }}, ${{ matrix.goarch }})..." timeout 5s ./reticulum-go || echo "Binary started successfully (timeout expected)" - - name: Test binary execution (Windows) - if: matrix.os == 'windows-latest' - run: | - echo "Testing binary execution on (${{ matrix.os }}, ${{ matrix.goarch }})..." - # Start the binary and kill after 5 seconds to verify it can start - Start-Process -FilePath ".\reticulum-go.exe" -NoNewWindow - Start-Sleep -Seconds 5 - Stop-Process -Name "reticulum-go" -Force -ErrorAction SilentlyContinue - echo "Binary started successfully" - shell: pwsh - - name: Test cross-compilation (AMD64 runners only) if: matrix.goarch == 'amd64' run: |