Remove windows/mac due to gitea runner limitation
All checks were successful
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 24s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 35s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 37s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 41s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 53s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 40s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 35s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 33s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 42s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 41s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 39s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 58s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m34s
Go Revive Lint / lint (push) Successful in 54s
Go Build Multi-Platform / Create Release (push) Has been skipped
Run Gosec / tests (push) Successful in 1m0s
All checks were successful
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 24s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 35s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 37s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 41s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 53s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 40s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 35s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 33s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 42s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 41s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 39s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 58s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m34s
Go Revive Lint / lint (push) Successful in 54s
Go Build Multi-Platform / Create Release (push) Has been skipped
Run Gosec / tests (push) Successful in 1m0s
This commit is contained in:
@@ -19,18 +19,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# AMD64 testing across major platforms
|
# AMD64 testing on Linux
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
- os: windows-latest
|
# ARM64 testing on Linux
|
||||||
goarch: amd64
|
|
||||||
- os: macos-latest
|
|
||||||
goarch: amd64
|
|
||||||
# ARM64 testing on supported platforms
|
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
- os: macos-latest
|
|
||||||
goarch: arm64
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
@@ -66,23 +60,11 @@ jobs:
|
|||||||
echo "Testing build for current platform (${{ matrix.os }}, ${{ matrix.goarch }})..."
|
echo "Testing build for current platform (${{ matrix.os }}, ${{ matrix.goarch }})..."
|
||||||
go build -v ./cmd/reticulum-go
|
go build -v ./cmd/reticulum-go
|
||||||
|
|
||||||
- name: Test binary execution (Linux/macOS)
|
- name: Test binary execution
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
run: |
|
run: |
|
||||||
echo "Testing binary execution on (${{ matrix.os }}, ${{ matrix.goarch }})..."
|
echo "Testing binary execution on (${{ matrix.os }}, ${{ matrix.goarch }})..."
|
||||||
timeout 5s ./reticulum-go || echo "Binary started successfully (timeout expected)"
|
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)
|
- name: Test cross-compilation (AMD64 runners only)
|
||||||
if: matrix.goarch == 'amd64'
|
if: matrix.goarch == 'amd64'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user