mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 05:13:36 +01:00
GitHub+make: run cross compile in matrix
This is just a test, perhaps this doesn't make any sense at all as it will clog up too many build runners.
This commit is contained in:
parent
66c3a46e4c
commit
c022284f37
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@ -139,6 +139,17 @@ jobs:
|
||||
cross-compile:
|
||||
name: cross compilation
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
# Please keep this list in sync with make/release_flags.mk!
|
||||
include:
|
||||
- name: i386
|
||||
sys: freebsd-386 linux-386 windows-386
|
||||
- name: amd64
|
||||
sys: darwin-amd64 freebsd-amd64 linux-amd64 netbsd-amd64 openbsd-amd64 windows-amd64
|
||||
- name: arm
|
||||
sys: darwin-arm64 freebsd-arm linux-armv6 linux-armv7 linux-arm64 windows-arm
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v3
|
||||
@ -151,7 +162,7 @@ jobs:
|
||||
use-build-cache: 'no'
|
||||
|
||||
- name: build release for all architectures
|
||||
run: make release
|
||||
run: make release sys="${{ matrix.sys }}"
|
||||
|
||||
########################
|
||||
# sample configuration check
|
||||
|
@ -11,6 +11,7 @@ DOCKER_RELEASE_HELPER = docker run \
|
||||
-e SKIP_VERSION_CHECK \
|
||||
lnd-release-helper
|
||||
|
||||
# Please keep this list in sync with .github/workflows/main.yml!
|
||||
BUILD_SYSTEM = darwin-amd64 \
|
||||
darwin-arm64 \
|
||||
freebsd-386 \
|
||||
|
Loading…
Reference in New Issue
Block a user