DioxusLabs / DioxusLabs/dioxus

Github Action for auto release

Open
#3,932 2 comments 0 reactions 0 assignees View on GitHub
ci ecosystem enhancement
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

Is there a github action that can automatically build `dioxus-desktop` and publish it to github release.

Mainly download `dx` and configure some dependent libraries.

---

I encountered some env problems.

For example, on Ubuntu:

https://github.com/oovm/lpk-unpack/actions/runs/14168809778/job/39687835235

```yaml
pkg-config exited with status code 1
> PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags glib-2.0 'glib-2.0 >= 2.70'

The system library `glib-2.0` required by crate `glib-sys` was not found.
The file `glib-2.0.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
The PKG_CONFIG_PATH environment variable is not set.

HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `glib-2.0.pc`.

warning: build failed, waiting for other jobs to finish...
warning: gobject-sys@0.18.0:
error: failed to run custom build command for `gobject-sys v0.18.0`
```

For example, on MacOS:

https://github.com/oovm/lpk-unpack/actions/runs/14170378069/job/39692636808

```yaml
dyld[1649]: Library not loaded: /usr/local/opt/openssl@3/lib/libssl.3.dylib
Referenced from: <5FDA7287-635F-303C-B[9](https://github.com/oovm/lpk-unpack/actions/runs/14170378069/job/39692636808#step:5:10)4B-EF915E0DAF0D> /Users/runner/work/lpk-unpack/lpk-unpack/dx
Reason: tried: '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (no such file)
/Users/runner/work/_temp/a86abd[10](https://github.com/oovm/lpk-unpack/actions/runs/14170378069/job/39692636808#step:5:11)-fde5-4b8c-ae4c-50159d031adb.sh: line 5: 1649 Abort trap: 6 ./dx build --package lpk-unpack --platform desktop --release
Error: Process completed with exit code 134.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.