Skip to content

Commit

Permalink
ci: Generate dist tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgesStavracas committed Sep 6, 2024
1 parent f3fb3bd commit 2e8738a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
${{ matrix.compiler }} \
dbus \
gettext \
git \
gi-docgen \
libgirepository1.0-dev \
libglib2.0 \
Expand All @@ -48,13 +49,21 @@ jobs:
valac
- name: Check out libportal
uses: actions/checkout@v4
- name: Fix Git ownership
run: |
echo $GITHUB_WORKSPACE
git config --global --add safe.directory $GITHUB_WORKSPACE
git status
- name: Configure libportal
run: meson setup --prefix=/usr _build -Dbackend-gtk3=enabled -Dbackend-gtk4=enabled -Dbackend-qt5=enabled -Dbackend-qt6=enabled
- name: Build libportal
run: ninja -C_build
- name: Run libportal tests
working-directory: _build
run: meson test --verbose --print-errorlogs
- name: Generate dist tarball
working-directory: _build
run: meson dist
- name: Upload test logs
uses: actions/upload-artifact@v4
if: success() || failure()
Expand All @@ -65,6 +74,7 @@ jobs:
test-*.log
installed-test-logs/
_build/meson-logs/testlog.txt
_build/meson-dist/
fedora:
name: Fedora
Expand Down Expand Up @@ -98,13 +108,21 @@ jobs:
vala
- name: Check out libportal
uses: actions/checkout@v4
- name: Fix Git ownership
run: |
echo $GITHUB_WORKSPACE
git config --global --add safe.directory $GITHUB_WORKSPACE
git status
- name: Configure libportal
run: meson setup --prefix=/usr _build -Dbackend-gtk3=enabled -Dbackend-gtk4=enabled -Dbackend-qt5=enabled -Dbackend-qt6=enabled
- name: Build libportal
run: ninja -C_build
- name: Run libportal tests
working-directory: _build
run: meson test --verbose --print-errorlogs
- name: Generate dist tarball
working-directory: _build
run: meson dist
- name: Upload test logs
uses: actions/upload-artifact@v4
if: success() || failure()
Expand All @@ -115,6 +133,7 @@ jobs:
test-*.log
installed-test-logs/
_build/meson-logs/testlog.txt
_build/meson-dist/
abi-check:
name: ABI check
Expand Down

0 comments on commit 2e8738a

Please sign in to comment.