-
Notifications
You must be signed in to change notification settings - Fork 283
37 lines (32 loc) · 1.25 KB
/
ci_linux_arch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Linux Arch x64
on: [push]
jobs:
build-archlinux:
runs-on: ubuntu-latest
name: build-archlinux-qt5
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: 'mayo'
- name: Setup Podman
run: |
sudo apt update
sudo apt-get -y install podman
podman pull docker.io/library/archlinux:latest
- name: Create container and run build+tests
run: |
{
echo 'FROM archlinux:latest'
echo 'RUN pacman -Syu --noconfirm'
echo 'RUN pacman -Sy --noconfirm make cmake git gcc'
echo 'RUN pacman -Sy --noconfirm qt5-base qt5-svg xcb-util-cursor'
echo 'RUN pacman -Sy --noconfirm opencascade libxi'
echo 'RUN pacman -Sy --noconfirm assimp'
echo 'COPY mayo mayo'
echo 'RUN mkdir /mayo/build'
echo 'WORKDIR /mayo/build'
echo 'RUN cmake .. -DMayo_BuildTests=ON -DMayo_BuildPluginAssimp=ON'
echo 'RUN cmake --build . --parallel --config Release'
} > podmanfile
podman build --tag archlinux-ci -f ./podmanfile