~thestr4ng3r/chiaki

ref: 7d820bd4ab9fa3bc8614b4dff558b55a3db577a0 chiaki/.builds/common.yml -rw-r--r-- 1.1 KiB
7d820bd4Florian Märkl Update and fix CI 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
image: alpine/edge # on edge for https://gitlab.alpinelinux.org/alpine/aports/-/issues/13287

sources:
  - https://git.sr.ht/~thestr4ng3r/chiaki

packages:
  - cmake
  - ninja
  - protoc
  - py3-protobuf
  - py3-setuptools
  - opus-dev
  - qt5-qtbase-dev
  - qt5-qtsvg-dev
  - qt5-qtmultimedia-dev
  - ffmpeg-dev
  - sdl2-dev
  - docker
  - fuse
  - argp-standalone

artifacts:
  - chiaki.nro
  - Chiaki.AppImage

tasks:
  - start_docker: |
      sudo service docker start
      sudo chmod +s /usr/bin/docker # Yes, I know what I am doing
      sudo service fuse start # Fuse for AppImages
  - local_build_and_test: |
      cd chiaki
      cmake -Bbuild -GNinja -DCHIAKI_ENABLE_CLI=ON -DCHIAKI_ENABLE_GUI=ON -DCHIAKI_CLI_ARGP_STANDALONE=ON
      ninja -C build
      build/test/chiaki-unit
  - appimage: |
      cd chiaki
      scripts/run-docker-build-appimage.sh
      cp appimage/Chiaki.AppImage ../Chiaki.AppImage
  - switch: |
      cd chiaki
      scripts/switch/run-docker-build-chiaki.sh
      cp build_switch/switch/chiaki.nro ../chiaki.nro
  - bullseye: |
      cd chiaki
      scripts/run-docker-build-bullseye.sh