neobytes/.github/workflows/build.yml

98 lines
2.3 KiB
YAML
Raw Normal View History

2024-12-21 22:55:27 +01:00
name: build
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- 'doc/**'
- 'contrib/**'
- '**/*.md'
jobs:
build:
name: ${{ matrix.name }}
env:
MAKEJOBS: 4
SDK_URL: https://bitcoincore.org/depends-sources/sdks
strategy:
fail-fast: false
matrix:
name:
- linux-32-bit
- linux-64-bit
- linux-arm-32-bit
- linux-arm-64-bit
include:
- name: linux-32-bit
host: i686-pc-linux-gnu
os: ubuntu-20.04
packages: g++-multilib
check-security: false
check-symbols: false
dep-opts: ""
config-opts: "--enable-glibc-back-compat LDFLAGS=-static-libstdc++"
goal: install
- name: linux-64-bit
host: x86_64-pc-linux-gnu
os: ubuntu-20.04
packages: python3
check-security: false
check-symbols: false
dep-opts: ""
config-opts: "--enable-sse2 --enable-glibc-back-compat LDFLAGS=-static-libstdc++"
goal: install
- name: linux-arm-32-bit
host: arm-linux-gnueabihf
os: ubuntu-20.04
packages: g++-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
check-security: false
check-symbols: false
dep-opts: ""
config-opts: "--enable-glibc-back-compat LDFLAGS=-static-libstdc++"
goal: install
- name: linux-arm-64-bit
host: aarch64-linux-gnu
os: ubuntu-20.04
packages: g++-aarch64-linux-gnu binutils-aarch64-linux-gnu
check-security: false
check-symbols: false
dep-opts: ""
config-opts: "--enable-glibc-back-compat LDFLAGS=-static-libstdc++"
goal: install
runs-on: ${{ matrix.os }}
2024-12-21 23:04:58 +01:00
steps:
- name: Add architecture
- name: Install packages
- name: Post Install
- name: Checkout
- name: SDK cache
- name: Install SDK
- name: Dependency cache
- name: Build depends
- name: Check security
- name: Check symbols
- name: Upload artifacts
- name: Download artifacts