feat: Allow to link native library with lld on Windows #294
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build iOS Runtime | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/build-ios.yml' | |
| - 'build/Stride.iOS.sln' | |
| - 'deps/**' | |
| - 'sources/core/**' | |
| - 'sources/engine/**' | |
| - 'sources/native/**' | |
| - 'sources/shaders/**' | |
| - 'sources/shared/**' | |
| - 'sources/targets/**' | |
| - '!**/.all-contributorsrc' | |
| - '!**/.editorconfig' | |
| - '!**/.gitignore' | |
| - '!**/*.md' | |
| - '!crowdin.yml' | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| workflow_dispatch: | |
| inputs: | |
| build-type: | |
| description: Build Configuration | |
| default: Debug | |
| type: choice | |
| options: | |
| - Debug | |
| - Release | |
| workflow_call: | |
| inputs: | |
| build-type: | |
| default: Debug | |
| type: string | |
| concurrency: | |
| group: build-ios-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }} | |
| cancel-in-progress: true | |
| jobs: | |
| # | |
| # Build Stride Runtime for iOS | |
| # | |
| iOS-Runtime: | |
| if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event.pull_request.draft == false }} | |
| name: Build (${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}) | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Install .NET iOS Workload | |
| run: dotnet workload install ios | |
| - uses: microsoft/setup-msbuild@v2 | |
| - name: Build | |
| run: | | |
| msbuild build\Stride.iOS.sln ` | |
| -restore -m:1 -nr:false ` | |
| -v:m -p:WarningLevel=0 ` | |
| -p:Configuration=${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }} ` | |
| -p:StridePlatforms=iOS ` | |
| -p:StrideSkipUnitTests=true ` | |
| -p:StrideSkipAutoPack=true |