Git is needed to complete checkout action. #5
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
name: Arch Linux | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:base-devel | |
steps: | |
- name: Install dependencies | |
run: | | |
pacman -Syu --noconfirm | |
pacman -S --noconfirm --needed meson ninja gmime3 nodejs git | |
- uses: actions/checkout@v4 | |
- run: meson setup --buildtype release build | |
- run: meson compile -C build | |
- run: meson install -C build | |
env: | |
DESTDIR: ${{ github.workspace }}/install | |
- run: tar -zcvf install.tar.gz -C install . | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: install | |
path: install.tar.gz |