Skip to content

Commit

Permalink
attempt x86_64 only release
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonk000 committed Jan 29, 2024
1 parent 7bb828b commit e8e1869
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
run: sudo -E /home/${USER}/.cargo/bin/cargo test --no-fail-fast -- --include-ignored

build-for-aarch64:

runs-on: ubuntu-22.04

steps:
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build linux

on:
push:
tags:
- 'v*.*.*'

env:
CARGO_TERM_COLOR: always

jobs:


build:

runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3

- name: Install libelf and gdb
run: sudo apt-get install -y libelf-dev libelf1 gdb

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Release binary
run: |
cargo clean
cargo build --release
tar czf corepipe-linux_x86_64.tar.gz -C target/release/ corepipe
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
corepipe-linux_x86_64.tar.gz

0 comments on commit e8e1869

Please sign in to comment.