mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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/tools .
|
||||
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
|
||||
|
||||
|
|
3
.github/workflows/linux-eoan-5.12.yml
vendored
3
.github/workflows/linux-eoan-5.12.yml
vendored
|
@ -39,7 +39,8 @@ jobs:
|
|||
run: |
|
||||
echo "--------------------------------------------------------------"
|
||||
echo "building mobile"
|
||||
|
||||
git config --global user.email "ci@subsurface-divelog.org"
|
||||
git config --global user.name "Subsurface CI"
|
||||
cd ..
|
||||
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: |
|
||||
echo "--------------------------------------------------------------"
|
||||
echo "building mobile"
|
||||
|
||||
git config --global user.email "ci@subsurface-divelog.org"
|
||||
git config --global user.name "Subsurface CI"
|
||||
cd ..
|
||||
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 CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
|
||||
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
|
||||
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 /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 "building desktop"
|
||||
|
||||
|
|
Loading…
Reference in a new issue