~calmbit/suki

ref: cc36101a272eb2fa90675d85c71998b594167db5 suki/.builds/linux.yml -rw-r--r-- 606 bytes View raw
cc36101a — CalmBit actually read the documentation 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
image: archlinux
packages:
  - rustup
  - rsync
sources:
  - https://git.sr.ht/~calmbit/suki
secrets:
  - a70ff356-9ae9-47fc-97dc-03b06cedf851
environment:
  artifact: calmbit@107.174.128.143
tasks:
  - setup: |
      rustup install stable
      rustup default stable
      rustc -V
  - build: |
      cd suki
      cargo build
      cargo clippy --all -- -D warnings
  - package: |
      cd suki
      sshopts="ssh -o StrictHostKeyChecking=no"
      tar -cvf $(git rev-parse HEAD)-linux.tar.gz ./target/
      rsync --rsh="$sshopts" -a $(git rev-parse HEAD)-linux.tar.gz $artifact:/home/calmbit/artifacts/