From 8524e078c246c7955bb41568d37746eef30d0f16 Mon Sep 17 00:00:00 2001 From: Thomas Dallmair Date: Wed, 18 Dec 2024 21:16:01 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0c1b823..db704938 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,32 +32,23 @@ jobs: run: make check - name: Test install - run: make install + run: sudo make install - crossbuild: + debian: + strategy: + matrix: + release: [stable, oldstable, testing] runs-on: ubuntu-latest - container: dockcross/linux-mips-uclibc + container: debian/${{ matrix.release }} steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # Full history to be able to determine version number - - name: Install build dependencies - run: sudo apt-get install -y libusb-1.0-0-dev libsystemd-dev libev-dev libfmt-dev libinih-dev - - - name: Bootstrap - run: sh bootstrap.sh - - - name: Configure - run: ./configure + - name: Merge into debian branch + run: git checkout debian && git merge ${{ github.ref }} - - name: Build - run: make - - - name: Run check - run: make check - - - name: Test install - run: make install + - name: Build and install + run: sudo install-debian.sh