mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
github: Build incus agent for Linux and Windows
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
@@ -486,20 +486,36 @@ jobs:
|
||||
run: |
|
||||
mkdir bin
|
||||
|
||||
- name: Build static x86_64 incus
|
||||
- name: Build static incus (x86_64)
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
GOARCH: amd64
|
||||
run: |
|
||||
go build -o bin/incus.x86_64 ./cmd/incus
|
||||
|
||||
- name: Build static aarch64 incus
|
||||
- name: Build static incus (aarch64)
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
GOARCH: arm64
|
||||
run: |
|
||||
go build -o bin/incus.aarch64 ./cmd/incus
|
||||
|
||||
- name: Build static incus-agent (x86_64)
|
||||
if: runner.os == 'Linux' || runner.os == 'Windows'
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
GOARCH: amd64
|
||||
run: |
|
||||
go build -o bin/incus-agent.x86_64 ./cmd/incus-agent
|
||||
|
||||
- name: Build static incus-agent (aarch64)
|
||||
if: runner.os == 'Linux' || runner.os == 'Windows'
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
GOARCH: arm64
|
||||
run: |
|
||||
go build -o bin/incus-agent.aarch64 ./cmd/incus-agent
|
||||
|
||||
- name: Build static incus-migrate
|
||||
if: runner.os == 'Linux'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user