ci: test use alternative download for windows #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |