aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <lgh@e.email>2023-12-29 16:18:32 +0100
committerLiam <lgh@e.email>2023-12-29 16:18:32 +0100
commitbfafafcd268ec3c3fcd542b7909ead63bd5ba6bb (patch)
treec19f6c6de6e8c331802c441a7d247df4b5a32bbe
parent1b7c5a108fa840550c6cd7cdbd4b5df29c1fada2 (diff)
downloadSDK-Rebuild-bfafafcd268ec3c3fcd542b7909ead63bd5ba6bb.tar.gz
SDK-Rebuild-bfafafcd268ec3c3fcd542b7909ead63bd5ba6bb.tar.bz2
SDK-Rebuild-bfafafcd268ec3c3fcd542b7909ead63bd5ba6bb.zip
move artififacts into folder
-rw-r--r--.forgejo/workflows/demo.yaml3
-rwxr-xr-xsdk-12.0.0_r19/build.sh6
-rw-r--r--sdk-12.1.0_r27/build.sh6
-rw-r--r--sdk-13.0.0_r10/build.sh10
-rw-r--r--sdk-13.0.0_r18/build.sh10
5 files changed, 25 insertions, 10 deletions
diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml
index 3f113d7..8ce5069 100644
--- a/.forgejo/workflows/demo.yaml
+++ b/.forgejo/workflows/demo.yaml
@@ -3,9 +3,8 @@ jobs:
test:
runs-on: debian-latest
steps:
- - run: sudo apt update
- run: |
- sudo apt install git repo gnupg flex bison gperf build-essential zip curl \
+ sudo apt update && apt install git repo gnupg flex bison gperf build-essential zip curl \
zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5-dev \
libncurses5 libx11-dev lib32z1-dev libgl1-mesa-dev \
libxml2-utils xsltproc unzip rsync python3 python-is-python3 tofrodos repo
diff --git a/sdk-12.0.0_r19/build.sh b/sdk-12.0.0_r19/build.sh
index 84731c7..5a370e7 100755
--- a/sdk-12.0.0_r19/build.sh
+++ b/sdk-12.0.0_r19/build.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Caution: VERSION needs to be identical in all scripts in this directory,
+# Caution: VERSION needs to be identical in all scripts in this directory,
# otherwise the build will not work.
VERSION='12.0.0_r19'
BUILD_VARIANT='eng'
@@ -27,3 +27,7 @@ ls -lah out/dist/sdk-repo*.zip
ls -lah out/dist/sdk-symbols-${BUILD_NUMBER}.zip
ls -lah out/dist/repo*.xml
+mkdir ../artifacts/${VERSION}
+mv out/dist ../artifacts/${VERSION}/
+
+echo "Moved SDK to artifact folder"
diff --git a/sdk-12.1.0_r27/build.sh b/sdk-12.1.0_r27/build.sh
index 649963a..b3a1960 100644
--- a/sdk-12.1.0_r27/build.sh
+++ b/sdk-12.1.0_r27/build.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Caution: VERSION needs to be identical in all scripts in this directory,
+# Caution: VERSION needs to be identical in all scripts in this directory,
# otherwise the build will not work.
VERSION='12.1.0_r27'
@@ -28,3 +28,7 @@ ls -lah out/dist/sdk-repo*.zip
ls -lah out/dist/sdk-symbols-${BUILD_NUMBER}.zip
ls -lah out/dist/repo*.xml
+mkdir ../artifacts/${VERSION}
+mv out/dist ../artifacts/${VERSION}/
+
+echo "Moved SDK to artifact folder"
diff --git a/sdk-13.0.0_r10/build.sh b/sdk-13.0.0_r10/build.sh
index 7537aa9..d2779cf 100644
--- a/sdk-13.0.0_r10/build.sh
+++ b/sdk-13.0.0_r10/build.sh
@@ -1,13 +1,13 @@
#!/bin/bash
-# Caution: VERSION needs to be identical in all scripts in this directory,
+# Caution: VERSION needs to be identical in all scripts in this directory,
# otherwise the build will not work.
VERSION='13.0.0_r10'
BUILD_VARIANT='eng'
export USER=$(whoami)
export BUILD_NUMBER="${BUILD_VARIANT}.${VERSION}"
-# needed, because otherwise conscrypt build will fail. ART and some other
-# dependencies need to be built from source.
+# needed, because otherwise conscrypt build will fail. ART and some other
+# dependencies need to be built from source.
export ART_MODULE_BUILD_FROM_SOURCE=true
export MODULE_BUILD_FROM_SOURCE=true
@@ -32,3 +32,7 @@ ls -lah out/dist/sdk-repo*.zip
ls -lah out/dist/sdk-symbols-${BUILD_NUMBER}.zip
ls -lah out/dist/repo*.xml
+mkdir ../artifacts/${VERSION}
+mv out/dist ../artifacts/${VERSION}/
+
+echo "Moved SDK to artifact folder"
diff --git a/sdk-13.0.0_r18/build.sh b/sdk-13.0.0_r18/build.sh
index 78e384e..78cdc1a 100644
--- a/sdk-13.0.0_r18/build.sh
+++ b/sdk-13.0.0_r18/build.sh
@@ -1,14 +1,14 @@
#!/bin/bash
-# Caution: VERSION needs to be identical in all scripts in this directory,
+# Caution: VERSION needs to be identical in all scripts in this directory,
# otherwise the build will not work.
VERSION='13.0.0_r18'
BUILD_VARIANT='eng'
export USER=$(whoami)
export BUILD_NUMBER="${BUILD_VARIANT}.${VERSION}"
-# needed, because otherwise conscrypt build will fail. ART and some other
-# dependencies need to be built from source.
+# needed, because otherwise conscrypt build will fail. ART and some other
+# dependencies need to be built from source.
export ART_MODULE_BUILD_FROM_SOURCE=true
export MODULE_BUILD_FROM_SOURCE=true
@@ -33,3 +33,7 @@ ls -lah out/dist/sdk-repo*.zip
ls -lah out/dist/sdk-symbols-${BUILD_NUMBER}.zip
ls -lah out/dist/repo*.xml
+mkdir ../artifacts/${VERSION}
+mv out/dist ../artifacts/${VERSION}/
+
+echo "Moved SDK to artifact folder"