@@ -4,48 +4,85 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
linux :
7
- name : Linux
7
+ name : Rocky Linux
8
8
runs-on : ubuntu-latest
9
+ container :
10
+ image : rockylinux/rockylinux:8
9
11
steps :
10
- - uses : actions/checkout@v3
12
+ - name : Are we really on Rocky Linux?
13
+ run : cat /etc/os-release
14
+
15
+ - name : Install dependencies
16
+ run : |
17
+ dnf update -y
18
+ dnf install -y chrpath gcc make
19
+
20
+ steps :
21
+ - uses : actions/checkout@v4
11
22
with :
12
23
submodules : true
13
24
14
25
- name : Build
15
- run : make
26
+ run : |
27
+ make
28
+ strip -S libtheorafile.so
16
29
17
- macos :
18
- name : macOS
19
- runs-on : macos-latest
30
+ - name : Archive build result
31
+ uses : actions/upload-artifact@v4
32
+ with :
33
+ name : Theorafile-lib64
34
+ path : libtheorafile.so
35
+
36
+ mingw :
37
+ name : Rocky Linux (MinGW)
38
+ runs-on : ubuntu-latest
39
+ container :
40
+ image : rockylinux/rockylinux:8
20
41
steps :
21
- - uses : actions/checkout@v3
42
+ - name : Are we really on Rocky Linux?
43
+ run : cat /etc/os-release
44
+
45
+ - name : Install dependencies
46
+ run : |
47
+ dnf update -y
48
+ dnf install -y mingw32-gcc mingw64-gcc
49
+
50
+ steps :
51
+ - uses : actions/checkout@v4
22
52
with :
23
53
submodules : true
24
54
25
55
- name : Build
26
- run : make
56
+ run : |
57
+ mingw32-make
58
+ mkdir x86
59
+ mv libtheorafile.dll x86/
60
+ mingw64-make
61
+ mkdir x64
62
+ mv libtheorafile.dll x64/
63
+
64
+ - name : Archive x86 build result
65
+ uses : actions/upload-artifact@v4
66
+ with :
67
+ name : Theorafile-x86
68
+ path : x86/libtheorafile.dll
69
+
70
+ - name : Archive x64 build result
71
+ uses : actions/upload-artifact@v4
72
+ with :
73
+ name : Theorafile-x64
74
+ path : x64/libtheorafile.dll
27
75
28
- windows-mingw :
29
- name : Windows (MinGW)
30
- runs-on : windows-latest
31
- defaults :
32
- run :
33
- shell : msys2 {0}
76
+ macos :
77
+ name : macOS
78
+ runs-on : macos-latest
34
79
steps :
35
80
- uses : actions/checkout@v3
36
81
with :
37
82
submodules : true
38
83
39
- - name : Set up MSYS2
40
- uses : msys2/setup-msys2@v2
41
- with :
42
- msystem : mingw32
43
- install : >-
44
- mingw-w64-i686-cc
45
- mingw-w64-i686-make
46
-
47
84
- name : Build
48
- run : mingw32- make
85
+ run : make
49
86
50
87
freebsd :
51
88
runs-on : ubuntu-latest
0 commit comments