Skip to content

Commit

Permalink
Setup workloads everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Nov 23, 2023
1 parent 80ca2f2 commit 3d81935
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/templates/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#@ def buildPackages():
- #@ template.replace(setupAndroid())
- #@ setupWorkloads('tvos ios maccatalyst android')
- #@ setupWorkloads('tvos ios maccatalyst android wasm-tools-net6')
- name: Add msbuild to PATH
uses: #@ actionSetupMSBuild
#@ for pkgName in nugetPackages:
Expand Down
2 changes: 1 addition & 1 deletion .github/templates/test-source-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 45
steps:
- #@ template.replace(checkoutCode())
- #@ setupWorkloads('tvos ios maccatalyst android')
- #@ setupWorkloads('tvos ios maccatalyst android wasm-tools-net6')
- #@ template.replace(dotnetPublish("Tests/SourceGenerators/Realm.SourceGenerator.Tests", "net6.0", "win-x64"))
- name: Run the tests
run: #@ "${{ steps.dotnet-publish.outputs.executable-path }}/Realm.SourceGenerator.Tests --result=TestResults.SourceGeneration.xml"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install SDK platform 21
run: sdkmanager --install "platforms;android-21"
- name: Setup workloads
run: dotnet workload install tvos ios maccatalyst android
run: dotnet workload install tvos ios maccatalyst android wasm-tools-net6
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@0b44c6745b7e81956596964100aadb92d667c497
- name: Build Realm.PlatformHelpers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-source-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Register msvc problem matcher
run: echo "::add-matcher::.github/problem-matchers/msvc.json"
- name: Setup workloads
run: dotnet workload install tvos ios maccatalyst android
run: dotnet workload install tvos ios maccatalyst android wasm-tools-net6
- name: Publish Tests/SourceGenerators/Realm.SourceGenerator.Tests
run: dotnet publish Tests/SourceGenerators/Realm.SourceGenerator.Tests -c Release -f net6.0 -r win-x64 --no-self-contained
- name: Output executable path
Expand Down

0 comments on commit 3d81935

Please sign in to comment.