Compare commits
47 Commits
7144e92237
...
636197baab
| Author | SHA1 | Date | |
|---|---|---|---|
| 636197baab | |||
| 997508cedf | |||
| dadd07c4c6 | |||
| 65b84198f4 | |||
| b5c4bb351d | |||
| c73b85ed1b | |||
| 7c9ccc2e0f | |||
| e29e83e634 | |||
| 84ba411fbe | |||
| fc091a4870 | |||
| 5ce01ea9bd | |||
| c3ef702ba1 | |||
| 636e336f05 | |||
| 6b6fa96afb | |||
| 3fffee0007 | |||
| 5692ba91ba | |||
| 0b58ed9d22 | |||
| 6ed07fd329 | |||
| 04b46dc9c0 | |||
| 32d1d6ecb2 | |||
| d39dbbbe8b | |||
| 38d6be83dc | |||
| 93d5472dda | |||
| e3992f3bae | |||
| 3ac03329dd | |||
| 90639a9266 | |||
| 31b155f4dd | |||
| 2e4de7e411 | |||
| 244e80faf0 | |||
| 10b1d25316 | |||
| ae543de20c | |||
| 6f1137dc76 | |||
| c44518759f | |||
| 89937ce3b5 | |||
| 596df1de6b | |||
| fe4b52f129 | |||
| 971e2880b5 | |||
| 0d48d649b9 | |||
| cecb3a07b6 | |||
| 3bb591cced | |||
| 10cb38151e | |||
| 77c79e1845 | |||
| 9a4fee6a89 | |||
| 61ece3f20a | |||
| 0836673602 | |||
| 19bff2f9eb | |||
| ebc8731b05 |
@ -4,23 +4,40 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
env:
|
||||
CRATE_NAME: mycelium
|
||||
RUST_BACKTRACE: 1
|
||||
jobs:
|
||||
release:
|
||||
name: release ${{ matrix.target }}
|
||||
runs-on: alma9
|
||||
name: release
|
||||
runs-on: ubuntu-24.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target: [x86_64-unknown-linux-musl]
|
||||
platform:
|
||||
- os-name: Linux-x86_64
|
||||
runs-on: ubuntu-20.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
toolchain:
|
||||
- stable
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install deps
|
||||
run: apt-get update; apt-get install -y libdbus-1-dev pkg-config
|
||||
- name: Compile and release
|
||||
uses: rust-build/rust-build.action@v1.4.5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GT_TOKEN }}
|
||||
run: |
|
||||
apt-get update; apt-get install -y libdbus-1-3 libdbus-1-dev libdbus-1-3 pkg-config
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/inst_rustup.sh
|
||||
bash /tmp/inst_rustup.sh -y
|
||||
source /root/.cargo/env
|
||||
rustup toolchain install stable-x86_64-unknown-linux-gnu
|
||||
- name: Build binary
|
||||
run: |
|
||||
/root/.cargo/bin/cargo build --release
|
||||
tar -zcvf x86_64-linux.tgz target/release/mycelium README.md
|
||||
- name: Test
|
||||
run: |
|
||||
ls -alh target/release/mycelium
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
RUSTTARGET: ${{ matrix.target }}
|
||||
EXTRA_FILES: README.md
|
||||
files: x86_64-linux.tgz
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user