Skip to content

Commit 125902b

Browse files
committed
scripts: update sourcehut build manifest
1 parent b853fc6 commit 125902b

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

scripts/ubuntu-build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
image: ubuntu/18.04
2+
secrets:
3+
- <secret number for the ssh lhelper.cc key to be found in https://builds.sr.ht/secrets>
24
packages:
35
# xorg-dev can be used instead of the detailed list of x11 libraries
46
# fuse needed to create appimage
@@ -9,24 +11,25 @@ sources:
911
tasks:
1012
- enable-local: |
1113
echo 'export PATH="$HOME/.local/bin:$PATH"' >> "$HOME/.buildenv"
14+
ssh-keyscan lhelper.cc >> ~/.ssh/known_hosts
1215
- prepare-setup: |
1316
pip3 install --user meson
1417
- lhelper-install: |
1518
cd lhelper
1619
bash install "$HOME/.local"
1720
- build: |
1821
cd gsl-shell
19-
lhelper create build
22+
lhelper create --upload build
2023
source "$(lhelper env-source build)"
2124
bash scripts/build-package.sh -appimage -name=dynamic -openblas -unix
2225
- build-gslcblas: |
2326
cd gsl-shell
24-
lhelper create build-gslcblas
27+
lhelper create --upload build-gslcblas
2528
source "$(lhelper env-source build-gslcblas)"
2629
bash scripts/build-package.sh -appimage -unix
2730
- build-openblas-static: |
2831
cd gsl-shell
29-
lhelper create build-openblas-static
32+
lhelper create --upload build-openblas-static
3033
source "$(lhelper env-source build-openblas-static)"
3134
bash scripts/build-package.sh -appimage -openblas -unix
3235
- build-cpu-specific: |
@@ -35,7 +38,7 @@ tasks:
3538
(
3639
export CPU_TYPE=x86-64
3740
export CPU_TARGET="$cpu_target"
38-
lhelper create build-openblas-static
41+
lhelper create --upload build-openblas-static
3942
source "$(lhelper env-source build-openblas-static)"
4043
bash scripts/build-package.sh -appimage -name=$cpu_target -openblas -unix
4144
)

0 commit comments

Comments
 (0)