summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-11-08 16:09:00 +0100
committerColomban Wendling <[email protected]>2025-03-12 09:45:10 +0100
commita4cf43377e7ad45f38d8b8b94da47c1f9514bbb0 (patch)
tree47203198c416098ec7650b9233de16baa1d9e05d
parent226a93c08ed599960d618082485aa6749f2e1d03 (diff)
downloadmate-panel-a4cf43377e7ad45f38d8b8b94da47c1f9514bbb0.tar.bz2
mate-panel-a4cf43377e7ad45f38d8b8b94da47c1f9514bbb0.tar.xz
github actions: Add Debian Testing build
-rw-r--r--.github/workflows/build.yml68
1 files changed, 68 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ba54ca9e..b2924b37 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -145,3 +145,71 @@ jobs:
- name: cppcheck
run: cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'gtk-layer-shell-build' .
+
+ debian-testing-build:
+ runs-on: ubuntu-latest
+ container: debian:testing
+
+ env:
+ CC: ccache gcc
+ CXX: ccache g++
+ BASE_INSTALL_PATH: ${{github.workspace}}/_install
+
+ steps:
+ - name: Setup environment
+ run: |
+ echo "PATH=${BASE_INSTALL_PATH}/bin:${PATH}" >> "$GITHUB_ENV"
+ echo "PKG_CONFIG_PATH=${BASE_INSTALL_PATH}/lib/pkgconfig:${PKG_CONFIG_PATH}" >> "$GITHUB_ENV"
+
+ - name: Show environment
+ run: env | sort
+ if: ${{ env.DEBUG == '1' }}
+
+ - name: Install dependencies
+ run: |
+ apt-get update -qq
+ apt-get install --assume-yes --no-install-recommends \
+ ${BUILD_DEPS} ${LIBRARY_DEPS}
+
+ - uses: actions/checkout@v3
+ with:
+ path: mate-panel
+ submodules: true
+
+ - name: Checkout mate-desktop
+ uses: actions/checkout@v3
+ with:
+ repository: mate-desktop/mate-desktop
+ ref: v1.27.1
+ path: mate-desktop
+ submodules: true
+
+ - name: ccache
+ uses: hendrikmuhs/[email protected]
+
+ - name: Configure mate-desktop
+ run: |
+ cd mate-desktop
+ NOCONFIGURE=1 ./autogen.sh
+ { ./configure --prefix="$BASE_INSTALL_PATH" || { cat config.log; exit 1; } ; }
+
+ - name: Build mate-desktop
+ run: make -C mate-desktop -j ${{ env.JOBS }}
+
+ - name: Install mate-desktop
+ run: make -C mate-desktop -j ${{ env.JOBS }} install
+
+ - name: Configure
+ run: |
+ cd mate-panel
+ NOCONFIGURE=1 ./autogen.sh
+ { ./configure || { cat config.log; exit 1; } ; }
+
+ - name: Build
+ run: make -C mate-panel -j ${{ env.JOBS }}
+
+ - name: Run Tests
+ run: make -C mate-panel -j ${{ env.JOBS }} check
+
+ - name: Run distcheck
+ run: make -C mate-panel -j ${{ env.JOBS }} distcheck