CI: consistent ci_*.yml file names #3
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: 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 '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 |