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