Move Rest of CI to Sourcehut

This commit is contained in:
Florian Märkl 2020-12-27 19:21:09 +01:00
commit dfc0f32ac2
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
20 changed files with 165 additions and 278 deletions

View file

@ -1,26 +0,0 @@
image: alpine/latest
sources:
- https://github.com/thestr4ng3r/chiaki.git
packages:
- cmake
- protoc
- py3-protobuf
- opus-dev
- qt5-qtbase-dev
- qt5-qtsvg-dev
- qt5-qtmultimedia-dev
- ffmpeg-dev
- sdl2-dev
- sdl2-static # this is gone on alpine edge so might be necessary to remove later
tasks:
- build: |
cd chiaki
mkdir build && cd build
cmake ..
make -j4
test/chiaki-unit

View file

@ -4,7 +4,7 @@ packages:
- docker
sources:
- https://github.com/thestr4ng3r/chiaki.git
- https://github.com/thestr4ng3r/chiaki
artifacts:
- Chiaki.apk

46
.builds/common.yml Normal file
View file

@ -0,0 +1,46 @@
image: alpine/latest
sources:
- https://github.com/thestr4ng3r/chiaki
packages:
- cmake
- ninja
- protoc
- py3-protobuf
- opus-dev
- qt5-qtbase-dev
- qt5-qtsvg-dev
- qt5-qtmultimedia-dev
- ffmpeg-dev
- sdl2-dev
- sdl2-static # this is gone on alpine edge so might be necessary to remove later
- docker
- fuse
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
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