Bump actions/upload-artifact from 3 to 4 #77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect | |
# | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
name: CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/gsconnect/gsconnect-ci:main | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare | |
run: | | |
meson --prefix=/usr \ | |
--libdir=lib/ \ | |
-Dgnome_shell_libdir=/usr/lib64/ \ | |
_build | |
- name: Uninstalled Tests | |
run: | | |
meson test -C _build --suite gsconnect:data \ | |
--suite gsconnect:lint \ | |
--print-errorlogs | |
- name: Installed Tests | |
run: | | |
ninja -C _build install | |
xvfb-run -a dbus-run-session -- \ | |
gnome-desktop-testing-runner gsconnect -L _build/meson-logs | |
- name: Upload Test Logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-logs | |
path: _build/meson-logs | |
- name: Test Build | |
run: | | |
ninja -C _build make-zip | |
- name: Upload Test Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-build | |
path: _build/[email protected] | |