-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
20 lines (19 loc) · 961 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build:
stage: build
image: rbonifaz/wahay-rpm-build:latest
before_script:
- dnf install -y xorg-x11-server-Xvfb
- "eval $(ssh-agent -s)"
- 'ssh-add <(echo "$FEDORA_PACKAGING_PRIVATE_KEY")'
- mkdir -p ~/.ssh; chmod 700 ~/.ssh
- 'echo -e "[fedora.autonomia.digital]:4243,[185.108.78.22]:4243 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFE8IPu1LfB0ePyhgBFTyzXRNBZUiYa1ZaSnkFb746r3MgZQlfMhfxdMtrY3bKoiQ4i+HEUTCUN4BJ5n2PMdGz4=" > ~/.ssh/known_hosts'
- chmod 644 ~/.ssh/known_hosts
- 'scp -r -P4243 [email protected]:packages/upload/f38/golang-github-gotk3-devel*.rpm .'
- rpm -ivh golang-github-gotk3-devel*.rpm
script:
- git clone https://github.com/coyim/gotk3extra.git gotk3extra-0.0.2
- cd gotk3extra-0.0.2/
- git checkout tags/v0.0.2
- cd ..
- tar zcf gotk3extra-0.0.2.tar.gz gotk3extra-0.0.2/
- ./build_all.sh f30 f31 f32 f33 f34 f35 f36 f37 f38