Compare commits

..

4 Commits

Author SHA1 Message Date
7144e92237 Get hyprland session at runtime 2025-07-02 11:10:23 +10:00
a30333b77e Removed duplicate true 2025-07-02 10:55:15 +10:00
56dd495f83 added ipc 2025-07-02 10:54:58 +10:00
cc45f5cf59 Added hyprpaper support 2025-06-30 07:07:48 +10:00

View File

@ -4,40 +4,23 @@ on:
push:
tags:
- '*'
env:
CRATE_NAME: mycelium
RUST_BACKTRACE: 1
jobs:
release:
name: release
runs-on: ubuntu-24.04
name: release ${{ matrix.target }}
runs-on: alma9
strategy:
fail-fast: false
matrix:
platform:
- os-name: Linux-x86_64
runs-on: ubuntu-20.04
target: x86_64-unknown-linux-gnu
toolchain:
- stable
matrix:
target: [x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@master
- name: Install deps
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
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 }}
with:
files: x86_64-linux.tgz
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: README.md