-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (39 loc) · 1.01 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Fully build the rebar application, for all supported arch and containers
name: Build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
release:
types: [published]
workflow_call:
jobs:
# ---------------------------------------------------------------------------
compile:
uses: ./.github/workflows/compile.yaml
strategy:
fail-fast: false
matrix:
include:
# Linux
- arch: x86_64-unknown-linux-musl
os: ubuntu-latest
binary: rebar
# Linux cross-compile to windows
- arch: x86_64-pc-windows-gnu
os: ubuntu-latest
binary: rebar.exe
# macOS
- arch: x86_64-apple-darwin
os: macos-latest
binary: rebar
with:
arch: ${{ matrix.arch }}
os: ${{ matrix.os }}
binary: ${{ matrix.binary }}
# ---------------------------------------------------------------------------
docker:
uses: ./.github/workflows/docker.yaml