build scripts

This commit is contained in:
wgh19
2024-05-15 21:20:47 +08:00
parent 015ea33a5e
commit 0de1d6add1
4 changed files with 69 additions and 2 deletions

20
.github/workflows/ios_simulator.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Build IOS SIMULATOR
run-name: Build IOS SIMULATOR
on:
workflow_dispatch: {}
jobs:
Build_IOS_SIMULATOR:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app
- run: flutter pub get
- run: flutter build ios --simulator --no-codesign
- uses: actions/upload-artifact@v3
with:
name: build_files
path: build/ios/iphonesimulator