Skip to content

Commit

Permalink
fix elif and use ubuntu 18.04 for arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Nov 22, 2021
1 parent c102ba6 commit be2ddd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
os: macos-10.15
os_name: macos
- target: linux_arm32
os: ubuntu-20.04
os: ubuntu-18.04
os_name: linux
- target: linux_arm64
os: ubuntu-20.04
os: ubuntu-18.04
os_name: linux
env:
BUILD_TARGET: ${{ matrix.target }}
Expand Down
8 changes: 4 additions & 4 deletions dist/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ if [ ! -d flac-${flac} ]; then
${_arch}-configure --disable-ogg --enable-static --disable-cpplibs
make $make_opts
popd
elif [ "$BUILD_TARGET" == "linux_arm32"]; then
elif [ "$BUILD_TARGET" == "linux_arm32" ]; then
./configure --disable-ogg --enable-static --host ${_arch}
make $make_opts
elif [ "$BUILD_TARGET" == "linux_arm64"]; then
elif [ "$BUILD_TARGET" == "linux_arm64" ]; then
./configure --disable-ogg --enable-static --host ${_arch}
make $make_opts
else
Expand Down Expand Up @@ -185,10 +185,10 @@ if [ ! -d opus-$opus ]; then
--disable-extra-programs
make $make_opts
popd
elif [ "$BUILD_TARGET" == "linux_arm32"]; then
elif [ "$BUILD_TARGET" == "linux_arm32" ]; then
./configure --with-pic --host ${_arch}
make $make_opts
elif [ "$BUILD_TARGET" == "linux_arm64"]; then
elif [ "$BUILD_TARGET" == "linux_arm64" ]; then
./configure --with-pic --host ${_arch}
make $make_opts
else
Expand Down

0 comments on commit be2ddd8

Please sign in to comment.