Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
check-meson:
name: Ubuntu meson build
runs-on: ${{ matrix.os }}
container: ubuntu:26.04
strategy:
matrix:
os: ['ubuntu-24.04']
Expand All @@ -33,24 +34,35 @@ jobs:
CONFIG_OPTS: -Dinstalled_tests=true

steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y git findutils

- name: Set git safe directory
run: |
git config --global safe.directory "*"

- name: Check out flatpak-builder
# 6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install Dependencies
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y findutils
sudo apt-get install -y \
apt-get install -y \
${{ matrix.compiler }} \
$(xargs < .github/dependencies.apt.txt)

- name: Configure flatpak-builder
run: meson setup --wrap-mode nodownload ${CONFIG_OPTS} ${BUILDDIR} .
run: meson setup --wrap-mode nodownload ${CONFIG_OPTS} -Dwerror=true ${BUILDDIR} .

- name: Build flatpak-builder with Meson
run: meson compile -C ${BUILDDIR}

- name: Create dist tarball
run: |
meson dist --include-subprojects -C ${BUILDDIR}

- name: Upload docs
# 7.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,30 @@ jobs:
release:
name: Build and publish release
runs-on: ubuntu-24.04
container: ubuntu:26.04
permissions:
contents: write
steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y git findutils

- name: Set git safe directory
run: |
git config --global safe.directory "*"

- name: Checkout repository
# 6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Install Dependencies
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y findutils
sudo apt-get install -y \
apt-get update
apt-get install -y findutils
apt-get install -y \
gcc \
perl \
jq \
Expand Down