mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CICD: Add Downloader Build to the CI Pipeline.
Add a build for subsurface-downloader to the CI pipeline. The artifact is currently not used, but this will ensure pull requests breaking the downloader are spotted before they are merged. Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
2533909337
commit
8b0b3cba3c
1 changed files with 15 additions and 7 deletions
22
.github/workflows/linux-jammy-5.15.yml
vendored
22
.github/workflows/linux-jammy-5.15.yml
vendored
|
@ -22,6 +22,8 @@ jobs:
|
|||
uses: actions/checkout@v1
|
||||
|
||||
- name: get container ready for build
|
||||
env:
|
||||
SUBSURFACE_REPO_PATH: ${{ github.workspace }}
|
||||
run: |
|
||||
echo "--------------------------------------------------------------"
|
||||
echo "update distro and install dependencies"
|
||||
|
@ -39,21 +41,20 @@ jobs:
|
|||
qtpositioning5-dev qtscript5-dev qttools5-dev qttools5-dev-tools \
|
||||
qtquickcontrols2-5-dev xvfb libbluetooth-dev libmtp-dev
|
||||
|
||||
git config --global user.email "ci@subsurface-divelog.org"
|
||||
git config --global user.name "Subsurface CI"
|
||||
git config --global --add safe.directory ${SUBSURFACE_REPO_PATH}
|
||||
git config --global --add safe.directory ${SUBSURFACE_REPO_PATH}/libdivecomputer
|
||||
|
||||
- name: store dummy version and build number for test build
|
||||
run: |
|
||||
echo "100" > latest-subsurface-buildnumber
|
||||
echo "CICD-test-build" > latest-subsurface-buildnumber-extension
|
||||
|
||||
- name: build Subsurface-mobile
|
||||
env:
|
||||
SUBSURFACE_REPO_PATH: ${{ github.workspace }}
|
||||
- name: build subsurface-mobile
|
||||
run: |
|
||||
echo "--------------------------------------------------------------"
|
||||
echo "building mobile"
|
||||
git config --global user.email "ci@subsurface-divelog.org"
|
||||
git config --global user.name "Subsurface CI"
|
||||
git config --global --add safe.directory ${SUBSURFACE_REPO_PATH}
|
||||
git config --global --add safe.directory ${SUBSURFACE_REPO_PATH}/libdivecomputer
|
||||
cd ..
|
||||
bash -e -x subsurface/scripts/build.sh -mobile
|
||||
|
||||
|
@ -83,3 +84,10 @@ jobs:
|
|||
# xvfb-run --auto-servernum ./TestGitStorage -v2
|
||||
xvfb-run --auto-servernum make check
|
||||
|
||||
- name: build subsurface-downloader
|
||||
run: |
|
||||
echo "--------------------------------------------------------------"
|
||||
echo "building downloader"
|
||||
cd ..
|
||||
bash -e -x subsurface/scripts/build.sh -downloader
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue