modify
This commit is contained in:
43
.github/workflows/ci.yml
vendored
43
.github/workflows/ci.yml
vendored
@@ -17,21 +17,21 @@ jobs:
|
|||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
targets: aab,apk
|
targets: aab,apk
|
||||||
|
|
||||||
- platform: windows
|
# - platform: windows
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
targets: exe
|
# targets: exe
|
||||||
|
|
||||||
- platform: linux
|
# - platform: linux
|
||||||
os: ubuntu-latest
|
# os: ubuntu-latest
|
||||||
targets: appimage
|
# targets: appimage
|
||||||
|
|
||||||
- platform: macos
|
# - platform: macos
|
||||||
os: macos-latest
|
# os: macos-latest
|
||||||
targets: dmg
|
# targets: dmg
|
||||||
|
|
||||||
- platform: ios
|
# - platform: ios
|
||||||
os: macos-latest
|
# os: macos-latest
|
||||||
targets: ipa
|
# targets: ipa
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -49,7 +49,12 @@ jobs:
|
|||||||
- name: Setup Go environment
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@v4.0.1
|
uses: actions/setup-go@v4.0.1
|
||||||
|
|
||||||
|
- name: Install GCC
|
||||||
|
if: ${{ matrix.os }} == "macos-latest"
|
||||||
|
run: brew install gcc
|
||||||
|
|
||||||
- name: Set up MinGW
|
- name: Set up MinGW
|
||||||
|
if: ${{ matrix.os }} != "macos-latest"
|
||||||
uses: egor-tensin/setup-mingw@v2
|
uses: egor-tensin/setup-mingw@v2
|
||||||
with:
|
with:
|
||||||
platform: x64
|
platform: x64
|
||||||
@@ -74,19 +79,13 @@ jobs:
|
|||||||
make gen
|
make gen
|
||||||
make translate
|
make translate
|
||||||
|
|
||||||
- name: Generate Android Libs
|
|
||||||
if: ${{ matrix.platform }} == "android"
|
|
||||||
run: |
|
|
||||||
make android-libs
|
|
||||||
|
|
||||||
- name: Generate Windows Libs
|
- name: Generate Libs ${{ matrix.platform }}
|
||||||
if: ${{ matrix.platform }} == "windows"
|
|
||||||
run: |
|
|
||||||
make windows-libs
|
|
||||||
|
|
||||||
- name: Release ${{ matrix.platform }}
|
|
||||||
run: |
|
run: |
|
||||||
make ${{ matrix.platform }}-libs
|
make ${{ matrix.platform }}-libs
|
||||||
|
|
||||||
|
- name: Release ${{ matrix.platform }}
|
||||||
|
run: |
|
||||||
make ${{ matrix.platform }}-release
|
make ${{ matrix.platform }}-release
|
||||||
mkdir out
|
mkdir out
|
||||||
find ./ -type f -name "$(echo '*.${{ matrix.targets }}'| tr ',' ' ')" -exec cp {} out \;
|
find ./ -type f -name "$(echo '*.${{ matrix.targets }}'| tr ',' ' ')" -exec cp {} out \;
|
||||||
|
|||||||
Reference in New Issue
Block a user