Skip to content

Commit

Permalink
Added Github worflow for release
Browse files Browse the repository at this point in the history
  • Loading branch information
sauliusgrigaitis committed Apr 23, 2024
1 parent 951aebd commit 0f4ee26
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
push:
tags:
- 'release*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
lfs: true
# There should be no need to install Rustup or a Rust toolchain explicitly.
# The `ubuntu-22.04` image already includes Rustup:
# <https://github.com/actions/runner-images/blob/ubuntu22/20240401.4/images/ubuntu/Ubuntu2204-Readme.md#rust-tools>
# Running `rustc` or Cargo should automatically install the toolchain specified in `rust-toolchain.toml`.
- uses: Swatinem/rust-cache@v2
- name: Build x86_64-unknown-linux-gnu
run: cross build --bin grandine --target x86_64-unknown-linux-gnu --features default-networks --profile release # --profile compact
- name: Build x86_64-unknown-linux-gnu
run: cross build --bin grandine --target aarch64-unknown-linux-gnu --features default-networks --profile release # --profile compact

0 comments on commit 0f4ee26

Please sign in to comment.