Skip to content

Commit

Permalink
Build on master and MRs, test and app-image on MRs only.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallFurryMan authored and knro committed Nov 15, 2020
1 parent 2109eb3 commit 0dd339c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ cache:
build:
stage: build
interruptible: true
only:
- master
- merge_requests
before_script:
- du -hs "${CCACHE_DIR}" || mkdir -p "${CCACHE_DIR}"
script:
Expand All @@ -51,6 +54,8 @@ build:
build-and-test:
stage: test
interruptible: true
only:
- merge_requests
variables:
BUILD_TESTING: "ON"
before_script:
Expand All @@ -69,6 +74,8 @@ build-and-test:
build-appimage:
stage: test
interruptible: true
only:
- merge_requests
before_script:
- python3 -m pip install appimage-builder
- wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool
Expand Down

0 comments on commit 0dd339c

Please sign in to comment.