-
Notifications
You must be signed in to change notification settings - Fork 1.4k
41 lines (37 loc) · 904 Bytes
/
ci.ca-cert.yml
File metadata and controls
41 lines (37 loc) · 904 Bytes
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
39
40
41
on:
push:
branches:
- main
paths:
- Cargo.lock
- crates/lib/src/client.rs
- crates/lib/src/dist_pkgx_dev.pem
pull_request:
paths:
- Cargo.lock
- crates/lib/src/client.rs
- crates/lib/src/dist_pkgx_dev.pem
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: debian:bullseye-slim
steps:
- uses: actions/checkout@v6
- run: apt-get update && apt-get install -y curl gcc perl make
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --release
- uses: actions/upload-artifact@v7
with:
path: ./target/release/pkgx
name: pkgx
test:
needs: build
runs-on: ubuntu-latest
container: debian:bullseye-slim
steps:
- uses: actions/download-artifact@v8
with:
name: pkgx
- run: chmod +x ./pkgx
- run: ./pkgx +git