forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcargo-c.yaml
38 lines (33 loc) · 990 Bytes
/
cargo-c.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package:
name: cargo-c
version: 0.9.31
epoch: 0
description: build and install C-compatible libraries
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- openssl-dev
- rust
pipeline:
- uses: git-checkout
with:
repository: https://github.com/lu-zero/cargo-c
tag: v${{package.version}}
expected-commit: b140d7ca93d0ca734552866b205ac525fb13c67d
- runs: |
cargo build --release
install -Dm755 target/release/cargo-capi "${{targets.destdir}}"/usr/bin/cargo-capi
install -Dm755 target/release/cargo-cbuild "${{targets.destdir}}"/usr/bin/cargo-cbuild
install -Dm755 target/release/cargo-cinstall "${{targets.destdir}}"/usr/bin/cargo-cinstall
install -Dm755 target/release/cargo-ctest "${{targets.destdir}}"/usr/bin/cargo-ctest
- uses: strip
update:
enabled: true
github:
identifier: lu-zero/cargo-c
strip-prefix: v