Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shiritai/xc-tauri-rasp-action
Github action that utilize xc-tauri-rasp to build debian package for raspberry pi.
https://github.com/shiritai/xc-tauri-rasp-action
cross-compile debian github-action github-action-ci-cd raspberry-pi rust tauri
Last synced: 16 days ago
JSON representation
Github action that utilize xc-tauri-rasp to build debian package for raspberry pi.
- Host: GitHub
- URL: https://github.com/shiritai/xc-tauri-rasp-action
- Owner: Shiritai
- License: mit
- Created: 2024-07-14T14:51:07.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T02:14:43.000Z (6 months ago)
- Last Synced: 2024-10-31T03:42:18.332Z (2 months ago)
- Topics: cross-compile, debian, github-action, github-action-ci-cd, raspberry-pi, rust, tauri
- Homepage: https://github.com/marketplace/actions/xc-tauri-rasp-action
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xc-tauri-rasp-action
Github action that utilize [`xc-tauri-rasp`](https://github.com/Shiritai/xc-tauri-rasp) to build debian package for raspberry pi.
## Parameters
Currently all parameters are optional. No outputs but generates one debian package artifact.
For the `inputs.image`, default is to build the image from zero using `xc-tauri-rasp` script. You may like to assign it to skip the building process and speed up the CI flow.
```yml
# Partial lines content in `action.yml`
inputs:
image:
description: "Image to do cross compilation, which should be the intermediates generated by xcompile.sh in xc-tauri-rasp"
required: false
default: ""
arch:
description: "Architecture of raspberry pi"
required: false
default: arm64
env:
description: "Debian version of compilation environment"
required: false
default: bookworm
path:
description: "Root path of tauri project"
required: false
default: ${{ github.workspace }}
project-name:
description: "Name of the project, will be the prefix of the produced debian package"
required: false
default: "project"
```For other parameters, you can check [`xc-tauri-rasp`](https://github.com/Shiritai/xc-tauri-rasp) for more details. Currently they are the same as what `xc-tauri-rasp/xcompile.sh -h` provides.
```bash
> ./xcompile.sh -hCross compile a rust tauri application to debian package for raspberry pi (armhf/arm64).
Syntax: ./xcompile.sh [-c|h] [-e|n|p|t|a ARG]
Option:
-e
to set debian version of compilation environment
available versions are bookworm (debian 12, default) and bullseye (debian 11)
-n
to set compilation target project
default value is project
-p
to set path of project to be compiled
default value is ./project
-t
to set path of compilation target path
default value is .
-a
to set architecture of raspberry pi
default value: arm64
-c clean up all compilation targets before cross compilation
default not to clean up
-h show the help message
```