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 28e77fe
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
push: tags

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 28e77fe

Please sign in to comment.