@@ -3,7 +3,7 @@ name: Package
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build-freeimage-android :
6
+ build-freeimage-android-unity-2021 :
7
7
runs-on : ubuntu-latest
8
8
container :
9
9
image : unityci/editor:ubuntu-2021.3.14f1-android-1.0.1
@@ -21,11 +21,35 @@ jobs:
21
21
shell : bash
22
22
- uses : actions/upload-artifact@v3
23
23
with :
24
- name : " arm64-v8a"
24
+ name : " arm64-v8a-unity-2021 "
25
25
path : build-arm64-v8a/libFreeImage.so
26
26
- uses : actions/upload-artifact@v3
27
27
with :
28
- name : " armeabi-v7a"
28
+ name : " armeabi-v7a-unity-2021"
29
+ path : build-armeabi-v7a/libFreeImage.so
30
+ build-freeimage-android-unity-2022 :
31
+ runs-on : ubuntu-latest
32
+ container :
33
+ image : unityci/editor:ubuntu-2022.2.0f1-base-1.0.1
34
+ steps :
35
+ - uses : actions/checkout@v1
36
+ with :
37
+ submodules : true
38
+ - name : Build FreeImage
39
+ run : |
40
+ apt update -y
41
+ apt install cmake -y
42
+ apt install build-essential -y
43
+ chmod a+x scripts/build-android.py
44
+ python scripts/build-android.py /opt/unity/Editor
45
+ shell : bash
46
+ - uses : actions/upload-artifact@v3
47
+ with :
48
+ name : " arm64-v8a-unity-2022"
49
+ path : build-arm64-v8a/libFreeImage.so
50
+ - uses : actions/upload-artifact@v3
51
+ with :
52
+ name : " armeabi-v7a-unity-2022"
29
53
path : build-armeabi-v7a/libFreeImage.so
30
54
build-freeimage-ubuntu :
31
55
runs-on : ubuntu-18.04
43
67
name : " ubuntu-16.04"
44
68
path : build/libFreeImage.so
45
69
package-unity-2021-3 :
46
- needs : build-freeimage-android
70
+ needs : build-freeimage-android-unity-2021
47
71
runs-on : ubuntu-latest
48
72
container :
49
73
image : unityci/editor:ubuntu-2021.3.9f1-base-1.0.1
@@ -53,11 +77,11 @@ jobs:
53
77
submodules : true
54
78
- uses : actions/download-artifact@master
55
79
with :
56
- name : arm64-v8a
80
+ name : arm64-v8a-unity-2021
57
81
path : binaries/arm64-v8a
58
82
- uses : actions/download-artifact@master
59
83
with :
60
- name : armeabi-v7a
84
+ name : armeabi-v7a-unity-2021
61
85
path : binaries/armeabi-v7a
62
86
- uses : actions/download-artifact@master
63
87
with :
77
101
name : UnityAsyncTextureImport-Unity-2021.unitypackage
78
102
path : UnityAsyncTextureImport.unitypackage
79
103
package-unity-2022-3 :
80
- needs : build-freeimage-android
104
+ needs : build-freeimage-android-unity-2022
81
105
runs-on : ubuntu-latest
82
106
container :
83
107
image : unityci/editor:ubuntu-2022.2.0f1-base-1.0.1
@@ -87,11 +111,11 @@ jobs:
87
111
submodules : true
88
112
- uses : actions/download-artifact@master
89
113
with :
90
- name : arm64-v8a
114
+ name : arm64-v8a-unity-2022
91
115
path : binaries/arm64-v8a
92
116
- uses : actions/download-artifact@master
93
117
with :
94
- name : armeabi-v7a
118
+ name : armeabi-v7a-unity-2022
95
119
path : binaries/armeabi-v7a
96
120
- uses : actions/download-artifact@master
97
121
with :
0 commit comments