File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Linux Fedora
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build-fedora :
7
+ runs-on : ubuntu-latest
8
+ name : build-fedora40-qt5
9
+
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ with :
14
+ path : ' mayo'
15
+
16
+ - name : Setup Podman
17
+ run : |
18
+ sudo apt update
19
+ sudo apt-get -y install podman
20
+ podman pull fedora:40
21
+
22
+ - name : Create container and run build+tests
23
+ run : |
24
+ {
25
+ echo 'FROM fedora:40'
26
+ echo 'RUN dnf -y update'
27
+ echo 'RUN dnf -y install xorg-x11-server-Xvfb'
28
+ echo 'RUN dnf -y install make cmake git gcc-c++'
29
+ echo 'RUN dnf -y install qt5-qtbase qt5-qtsvg xcb-util-cursor'
30
+ echo 'RUN dnf -y install opencascade-devel'
31
+ echo 'RUN dnf -y install assimp assimp-devel'
32
+ echo 'RUN dnf clean all'
33
+ echo 'COPY mayo mayo'
34
+ echo 'WORKDIR /mayo'
35
+ echo 'RUN mkdir build'
36
+ echo 'WORKDIR /mayo/build'
37
+ echo 'RUN cmake --version'
38
+ echo 'RUN cmake .. -DMayo_BuildTests=ON -DMayo_BuildPluginAssimp=ON'
39
+ echo 'RUN cmake --build . --config Release'
40
+ echo 'RUN Xvfb $DISPLAY -screen 0 1280x1024x24 &'
41
+ echo 'RUN sleep 5s'
42
+ echo 'RUN ./mayo --runtests'
43
+ } > podmanfile
44
+ podman build --tag fedora40-ci -f ./podmanfile
You can’t perform that action at this time.
0 commit comments