mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-15 00:31:29 +03:00
fix(CI): macOS, nasm, use 2.16.x (#13781)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
13
.github/workflows/flutter-build.yml
vendored
13
.github/workflows/flutter-build.yml
vendored
@@ -623,7 +623,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install build runtime
|
- name: Install build runtime
|
||||||
run: |
|
run: |
|
||||||
brew install llvm create-dmg nasm
|
brew install llvm create-dmg
|
||||||
# pkg-config is handled in a separate step, because it may be already installed by `macos-latest`(14.7.1) runner
|
# pkg-config is handled in a separate step, because it may be already installed by `macos-latest`(14.7.1) runner
|
||||||
if command -v pkg-config &>/dev/null; then
|
if command -v pkg-config &>/dev/null; then
|
||||||
echo "pkg-config is already installed"
|
echo "pkg-config is already installed"
|
||||||
@@ -631,6 +631,17 @@ jobs:
|
|||||||
brew install pkg-config
|
brew install pkg-config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Install NASM
|
||||||
|
run: |
|
||||||
|
# Install NASM 2.16.x from official release.
|
||||||
|
# Do NOT use `brew install nasm` which installs NASM 3.x.
|
||||||
|
# NASM 3.x is a complete rewrite with incompatible CLI options and removed features.
|
||||||
|
# aom and other multimedia libraries require NASM 2.x for x86/x86_64 assembly.
|
||||||
|
wget https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/macosx/nasm-2.16.03-macosx.zip
|
||||||
|
unzip nasm-2.16.03-macosx.zip
|
||||||
|
sudo cp nasm-2.16.03/nasm /usr/local/bin/nasm
|
||||||
|
nasm --version
|
||||||
|
|
||||||
- name: Install flutter
|
- name: Install flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user