running-tasks/.github/workflows/push.yaml

36 lines
885 B
YAML
Raw Normal View History

name: Rust Build
2024-04-06 10:58:45 +00:00
run-name: ${{ github.actor }} is building 🚀
on:
push:
branches-ignore:
- release
jobs:
2024-04-06 10:02:31 +00:00
push:
name: building
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
2024-04-06 11:29:34 +00:00
- release_for: Windows - X86_64
target: x86_64-pc-windows-gnu
- release_for: Linux - X86_64
target: x86_64-unknown-linux-musl
2024-04-06 11:42:26 +00:00
# Broken: https://github.com/rust-build/rust-build.action/issues/88
# - release_for: Mac - X86_64
# target: x86_64-apple-darwin
steps:
2024-04-06 11:06:42 +00:00
- name: Checkout branch
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compile rust
2024-04-06 10:41:02 +00:00
timeout-minutes: 10
id: compile
2024-04-06 10:58:45 +00:00
uses: rust-build/rust-build.action@v1.4.5
with:
2024-04-06 10:58:45 +00:00
RUSTTARGET: ${{ matrix.target }}
UPLOAD_MODE: none