1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-04 09:47:45 +00:00
astra/.github/workflows/arch.yml

31 lines
760 B
YAML

name: Arch Linux CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- name: Install dependencies
run: |
pacman -Syu --noconfirm base-devel qt5-tools qt5-base libsecret cmake git tesseract libxcomposite unshield
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Compile
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=None -DBUILD_SHARED_LIBS=OFF ..
make
install -Dm 755 astra -t /tmp/astra
- name: Archive the artifacts
uses: actions/upload-artifact@v2
with:
name: Arch Linux Executable
path: /tmp/astra