mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: configure git when running GitHub Action
In order to apply the patches for Kirigami, git insists on having a valid user name and email. Also, don't build the mobile app when preparing the AppImage. That build already takes way too long and we test this in a few other actions. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a7d6736665
commit
70470ffa45
5 changed files with 8 additions and 9 deletions
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
|
@ -30,5 +30,7 @@ jobs:
|
||||||
ln -s /android/platforms .
|
ln -s /android/platforms .
|
||||||
ln -s /android/tools .
|
ln -s /android/tools .
|
||||||
ls -l
|
ls -l
|
||||||
|
git config --global user.email "ci@subsurface-divelog.org"
|
||||||
|
git config --global user.name "Subsurface CI"
|
||||||
bash -x ./subsurface/packaging/android/qmake-build.sh
|
bash -x ./subsurface/packaging/android/qmake-build.sh
|
||||||
|
|
||||||
|
|
3
.github/workflows/linux-eoan-5.12.yml
vendored
3
.github/workflows/linux-eoan-5.12.yml
vendored
|
@ -39,7 +39,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "--------------------------------------------------------------"
|
echo "--------------------------------------------------------------"
|
||||||
echo "building mobile"
|
echo "building mobile"
|
||||||
|
git config --global user.email "ci@subsurface-divelog.org"
|
||||||
|
git config --global user.name "Subsurface CI"
|
||||||
cd ..
|
cd ..
|
||||||
bash -e -x subsurface/scripts/build.sh -mobile
|
bash -e -x subsurface/scripts/build.sh -mobile
|
||||||
|
|
||||||
|
|
3
.github/workflows/linux-groovy-5.14.yml
vendored
3
.github/workflows/linux-groovy-5.14.yml
vendored
|
@ -39,7 +39,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "--------------------------------------------------------------"
|
echo "--------------------------------------------------------------"
|
||||||
echo "building mobile"
|
echo "building mobile"
|
||||||
|
git config --global user.email "ci@subsurface-divelog.org"
|
||||||
|
git config --global user.name "Subsurface CI"
|
||||||
cd ..
|
cd ..
|
||||||
bash -e -x subsurface/scripts/build.sh -mobile
|
bash -e -x subsurface/scripts/build.sh -mobile
|
||||||
|
|
||||||
|
|
3
.github/workflows/mac.yml
vendored
3
.github/workflows/mac.yml
vendored
|
@ -28,7 +28,8 @@ jobs:
|
||||||
export PATH=$QT_ROOT/bin:$PATH
|
export PATH=$QT_ROOT/bin:$PATH
|
||||||
export CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
|
export CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
|
||||||
DIR=$(pwd)
|
DIR=$(pwd)
|
||||||
|
git config --global user.email "ci@subsurface-divelog.org"
|
||||||
|
git config --global user.name "Subsurface CI"
|
||||||
# first build Subsurface-mobile to ensure this didn't get broken
|
# first build Subsurface-mobile to ensure this didn't get broken
|
||||||
bash -e -x ./subsurface/scripts/build.sh -mobile
|
bash -e -x ./subsurface/scripts/build.sh -mobile
|
||||||
|
|
||||||
|
|
|
@ -17,12 +17,6 @@ apt install -y libbluetooth-dev libmtp-dev
|
||||||
cp -a /appdir /__w/subsurface/
|
cp -a /appdir /__w/subsurface/
|
||||||
cp -a /install-root /__w/subsurface/
|
cp -a /install-root /__w/subsurface/
|
||||||
|
|
||||||
echo "--------------------------------------------------------------"
|
|
||||||
echo "building mobile"
|
|
||||||
|
|
||||||
# first make sure that no one broke Subsurface-mobile
|
|
||||||
bash -e -x subsurface/scripts/build.sh -mobile -quick
|
|
||||||
|
|
||||||
echo "--------------------------------------------------------------"
|
echo "--------------------------------------------------------------"
|
||||||
echo "building desktop"
|
echo "building desktop"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue