Skip to content

Commit

Permalink
github actions: Build and instal mate-desktop dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendling committed Nov 7, 2023
1 parent a39d5d2 commit b195e30
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
steps:
- 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: Install dependencies
Expand Down Expand Up @@ -75,21 +84,36 @@ jobs:
- name: ccache
uses: hendrikmuhs/[email protected]

- name: Configure mate-desktop
run: |
cd mate-desktop
NOCONFIGURE=1 ./autogen.sh
mkdir _build
cd _build
{ ../configure --prefix=/usr || { cat config.log; exit 1; } ; }
- name: Build mate-desktop
run: make -C mate-desktop/_build -j ${{ env.JOBS }}

- name: Install mate-desktop
run: make -C mate-desktop/_build -j ${{ env.JOBS }} install

- name: Configure
run: |
cd mate-panel
NOCONFIGURE=1 ./autogen.sh
mkdir _build
cd _build
{ ../configure || { cat config.log; exit 1; } ; }
- name: Build
run: make -C _build -j ${{ env.JOBS }}
run: make -C mate-panel/_build -j ${{ env.JOBS }}

- name: Run Tests
run: make -C _build -j ${{ env.JOBS }} check
run: make -C mate-panel/_build -j ${{ env.JOBS }} check

- name: Run distcheck
run: make -C _build -j ${{ env.JOBS }} distcheck
run: make -C mate-panel/_build -j ${{ env.JOBS }} distcheck

- name: cppcheck
run: cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'gtk-layer-shell-build' .
run: cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'gtk-layer-shell-build' mate-panel

0 comments on commit b195e30

Please sign in to comment.