tmp test
This commit is contained in:
43
.github/workflows/build.yml
vendored
43
.github/workflows/build.yml
vendored
@@ -16,7 +16,7 @@ env:
|
|||||||
IS_GITHUB_ACTIONS: 1
|
IS_GITHUB_ACTIONS: 1
|
||||||
CHANNEL: "${{ inputs.channel }}"
|
CHANNEL: "${{ inputs.channel }}"
|
||||||
FLUTTER_VERSION: '3.22.1'
|
FLUTTER_VERSION: '3.22.1'
|
||||||
NDK_VERSION: r26b
|
NDK_VERSION: r26d
|
||||||
UPLOAD_ARTIFACT: "${{ inputs.upload-artifact }}"
|
UPLOAD_ARTIFACT: "${{ inputs.upload-artifact }}"
|
||||||
TAG_NAME: "${{ inputs.tag-name }}"
|
TAG_NAME: "${{ inputs.tag-name }}"
|
||||||
TARGET_NAME_AppImage: "Hiddify-Linux-x64"
|
TARGET_NAME_AppImage: "Hiddify-Linux-x64"
|
||||||
@@ -36,11 +36,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: subosito/flutter-action@v2.12.0 #issue with 2.13
|
- uses: subosito/flutter-action@v2.16.0 #issue with 2.13
|
||||||
with:
|
with:
|
||||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: make linux-prepare
|
run: make linux-prepare
|
||||||
- name: Test
|
- name: Test
|
||||||
@@ -66,26 +67,26 @@ jobs:
|
|||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
targets: aab
|
targets: aab
|
||||||
|
|
||||||
- platform: windows
|
# - platform: windows
|
||||||
os: windows-2019
|
# os: windows-2019
|
||||||
aarch: amd64
|
# aarch: amd64
|
||||||
targets: exe,msix
|
# targets: exe,msix
|
||||||
|
|
||||||
- platform: linux
|
# - platform: linux
|
||||||
os: ubuntu-22.04
|
# os: ubuntu-22.04
|
||||||
aarch: amd64
|
# aarch: amd64
|
||||||
targets: AppImage,deb,rpm
|
# targets: AppImage,deb,rpm
|
||||||
|
|
||||||
- platform: macos
|
# - platform: macos
|
||||||
os: macos-13
|
# os: macos-13
|
||||||
aarch: universal
|
# aarch: universal
|
||||||
targets: dmg,pkg
|
# targets: dmg,pkg
|
||||||
|
|
||||||
- platform: ios
|
# - platform: ios
|
||||||
os: macos-13
|
# os: macos-13
|
||||||
aarch: universal
|
# aarch: universal
|
||||||
filename: hiddify-ios
|
# filename: hiddify-ios
|
||||||
targets: ipa
|
# targets: ipa
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
@@ -116,13 +117,13 @@ jobs:
|
|||||||
cache: true
|
cache: true
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
if: startsWith(matrix.platform,'android')
|
if: startsWith(matrix.platform,'android')
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
- name: Setup NDK
|
- name: Setup NDK
|
||||||
if: startsWith(matrix.platform,'android')
|
if: startsWith(matrix.platform,'android')
|
||||||
uses: nttld/setup-ndk@v1.4.1
|
uses: nttld/setup-ndk@v1
|
||||||
id: setup-ndk
|
id: setup-ndk
|
||||||
with:
|
with:
|
||||||
ndk-version: ${{ env.NDK_VERSION }}
|
ndk-version: ${{ env.NDK_VERSION }}
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -143,7 +143,7 @@ gen_translations: #generating missing translations using google translate
|
|||||||
android-release: android-apk-release
|
android-release: android-apk-release
|
||||||
|
|
||||||
android-apk-release:
|
android-apk-release:
|
||||||
flutter build apk --verbose --target-platform android-arm,android-arm64,android-x64 --split-per-abi --target $(TARGET) $(BUILD_ARGS)
|
flutter build apk --target $(TARGET) $(BUILD_ARGS) --target-platform android-arm,android-arm64,android-x64 --split-per-abi --verbose
|
||||||
ls -R build/app/outputs
|
ls -R build/app/outputs
|
||||||
|
|
||||||
android-aab-release:
|
android-aab-release:
|
||||||
|
|||||||
Reference in New Issue
Block a user