Skip to content

Commit

Permalink
Create Archlinux GiHub actions job
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsga committed May 1, 2024
1 parent 9acb206 commit 1373c08
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,53 @@ jobs:
- name: Meson - Uninstall
run: ninja -C build uninstall

build-archlinux:
name: Archlinux
runs-on: ubuntu-22.04
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pacman -Sy --noconfirm \
autoconf \
automake \
cracklib \
gcc \
libtool \
make \
meson \
ninja \
pkgconfig
- name: Autotools - Bootstrap
run: ./bootstrap
- name: Autotools - Configure
run: |
./configure \
--with-cracklib \
--with-tracker-pkgconfig-version=3.0 \
- name: Autotools - Build
run: make -j $(nproc)
- name: Autotools - Run tests
run: make check
- name: Autotools - Install
run: make install
- name: Autotools - Uninstall
run: make uninstall
- name: Meson - Configure
run: |
meson setup build \
-Dbuild-tests=true
- name: Meson - Build
run: ninja -C build
- name: Meson - Run tests
run: cd build && meson test
- name: Meson - Install
run: ninja -C build install
- name: Meson - Uninstall
run: ninja -C build uninstall

build-fedora:
name: Fedora
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 1373c08

Please sign in to comment.