2022-03-02 17:54:56 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2022-08-02 18:58:59 +00:00
|
|
|
image: golang:1.19-alpine
|
2022-03-02 17:54:56 +00:00
|
|
|
commands:
|
2022-07-28 13:43:55 +00:00
|
|
|
- apk update
|
2022-07-28 13:44:13 +00:00
|
|
|
- apk add --no-cache git gcc g++ musl-dev bash autoconf automake cmake make libtool gettext openssl-dev flac-dev opus-dev opusfile-dev libopusenc-dev libvorbis-dev libsamplerate-dev lame-dev libebur128-dev fdk-aac-dev --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
2022-04-21 12:06:35 +00:00
|
|
|
- git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /usr && make && make install && cd ..
|
2022-03-02 17:54:56 +00:00
|
|
|
- go build -v .
|
|
|
|
|
2022-08-01 19:48:33 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: docker-amd64
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: git_username
|
|
|
|
password:
|
|
|
|
from_secret: git_password
|
|
|
|
registry: git.gammaspectra.live
|
|
|
|
repo: git.gammaspectra.live/s.o.n.g/meteorlight
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
custom_dns: 8.8.8.8
|
|
|
|
squash: true
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: docker-arm64
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: git_username
|
|
|
|
password:
|
|
|
|
from_secret: git_password
|
|
|
|
registry: git.gammaspectra.live
|
|
|
|
repo: git.gammaspectra.live/s.o.n.g/meteorlight
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
custom_dns: 8.8.8.8
|
|
|
|
squash: true
|
2022-03-02 17:54:56 +00:00
|
|
|
...
|
2022-08-01 19:48:33 +00:00
|
|
|
|