36 lines
No EOL
795 B
YAML
36 lines
No EOL
795 B
YAML
steps:
|
|
- name: Compile gmqcc (amd64)
|
|
image: alpine
|
|
commands:
|
|
- chmod +x ci-dependencies.sh
|
|
- ./ci-dependencies.sh
|
|
- cd gmqcc
|
|
- make
|
|
- cd ..
|
|
|
|
- name: Compile SpecialSauce (amd64)
|
|
image: alpine
|
|
commands:
|
|
- chmod +x ci-dependencies.sh
|
|
- chmod +x build.sh
|
|
- ./ci-dependencies.sh
|
|
- bash build.sh
|
|
|
|
- name: Upload Artifacts (amd64)
|
|
image: ocram85/plugin-gitea-package:latest
|
|
settings:
|
|
user:
|
|
from_secret: reg-user
|
|
password:
|
|
from_secret: reg-pass
|
|
owner: "amogus.tv"
|
|
package_name: "amogusspecialsauce"
|
|
package_version: "0.0.1"
|
|
file_source: "./dist/compiled-${CI_COMMIT_SHA:0:10}.zip"
|
|
file_name: "compiled-latest.zip"
|
|
update: "true"
|
|
|
|
when:
|
|
- event: [push, tag, cron]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH} |