File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
package-linux :
9
- runs-on : ubuntu-18 .04
9
+ runs-on : ubuntu-20 .04
10
10
strategy :
11
11
matrix :
12
12
arch :
13
13
- x86_64
14
+ - arm64
14
15
env :
15
16
ARCH : ${{ matrix.arch }}
16
17
steps :
19
20
run : |
20
21
sudo apt-get update -y && \
21
22
sudo apt-get install -y yasm
23
+ - name : Install ARM64 compiler
24
+ if : env.ARCH == 'arm64'
25
+ run : |
26
+ sudo apt-get update -y && \
27
+ sudo apt-get install -y gcc-aarch64-linux-gnu
22
28
- name : Build
23
29
run : ./build-linux.sh
24
30
- name : Archive production artifacts
28
34
path : artifacts/
29
35
30
36
package-windows :
31
- runs-on : ubuntu-18 .04
37
+ runs-on : ubuntu-20 .04
32
38
strategy :
33
39
matrix :
34
40
arch :
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ case $ARCH in
22
22
i686)
23
23
FFMPEG_CONFIGURE_FLAGS+=(--cc=" gcc -m32" )
24
24
;;
25
+ arm64)
26
+ FFMPEG_CONFIGURE_FLAGS+=(
27
+ --enable-cross-compile
28
+ --cross-prefix=aarch64-linux-gnu-
29
+ --target-os=linux
30
+ --arch=aarch64
31
+ )
32
+ ;;
25
33
arm* )
26
34
FFMPEG_CONFIGURE_FLAGS+=(
27
35
--enable-cross-compile
You can’t perform that action at this time.
0 commit comments