Merge pull request #597 from MikeWallaceDev/fix_linux_build_on_x86_64

fix : fix linux build on x86_64
This commit is contained in:
Lucas.Xu 2022-07-10 22:37:58 +08:00 committed by GitHub
commit fda632e4e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,7 @@ jobs:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
flutter_profile: development-linux-x86
flutter_profile: development-linux-x86_64
- os: macos-latest
flutter_profile: development-mac-x86_64
runs-on: ${{ matrix.os }}
@ -82,4 +82,4 @@ jobs:
- name: Build
working-directory: frontend
run: |
cargo make --profile ${{ matrix.flutter_profile }} appflowy-dev
cargo make --profile ${{ matrix.flutter_profile }} appflowy-dev

View File

@ -42,7 +42,7 @@ jobs:
- name: Build FlowySDK
working-directory: frontend
run: |
cargo make --profile development-linux-x86 flowy-sdk-dev
cargo make --profile development-linux-x86_64 flowy-sdk-dev
- name: Code Generation
working-directory: frontend/app_flowy

View File

@ -56,7 +56,7 @@ jobs:
- name: Build FlowySDK
working-directory: frontend
run: |
cargo make --profile development-linux-x86 flowy-sdk-dev
cargo make --profile development-linux-x86_64 flowy-sdk-dev
- name: Code Generation
working-directory: frontend/app_flowy

View File

@ -67,7 +67,7 @@ jobs:
working-directory: frontend
run: |
flutter config --enable-linux-desktop
cargo make --env APP_VERSION=${{ github.ref_name }} --profile production-linux-x86 appflowy
cargo make --env APP_VERSION=${{ github.ref_name }} --profile production-linux-x86_64 appflowy
- name: Upload Release Asset
id: upload-release-asset

View File

@ -30,7 +30,7 @@ jobs:
- name: Build FlowySDK
working-directory: frontend
run: |
cargo make --profile development-linux-x86 flowy-sdk-dev
cargo make --profile development-linux-x86_64 flowy-sdk-dev
- run: rustup component add rustfmt
working-directory: frontend/rust-lib

View File

@ -100,7 +100,7 @@ CRATE_TYPE = "cdylib"
SDK_EXT = "dll"
APP_ENVIRONMENT = "production"
[env.development-linux-x86]
[env.development-linux-x86_64]
TARGET_OS = "linux"
RUST_COMPILE_TARGET = "x86_64-unknown-linux-gnu"
BUILD_FLAG = "debug"
@ -109,7 +109,7 @@ FLUTTER_OUTPUT_DIR = "Debug"
SDK_EXT = "so"
LINUX_ARCH = "x64"
[env.production-linux-x86]
[env.production-linux-x86_64]
BUILD_FLAG = "release"
TARGET_OS = "linux"
RUST_COMPILE_TARGET = "x86_64-unknown-linux-gnu"