Commit 20de949
[copilot] setup
Context: https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
Setup `.github/workflows/copilot-setup-steps.yml`, which is a Github action
that runs (only on Ubuntu) prior to Copilot doing its work.
This makes Copilot more useful, as it has a locally cloned and built source tree
with all dependencies installed. Copilot will be able to run various commands
to achieve tasks as assigned.
Other changes:
* Ignore errors from `<GitCommitsInRange/>`
Copilot must keep some custom `git` history, as this command was failing during our build:
> git log ^cfa4209..HEAD --oneline
fatal: bad revision '^cfa4209..HEAD'
We can ignore the error, and just use 0 for the commit range if this occurs.
* Our `android-deps` workload for provisioning Mono, can simply use:
"android-deps": { "extends" : [ "microsoft-net-runtime-android" ] }
Previously, it was failing to install a non-existent pack on Linux:
Installing pack Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x86 version 10.0.0-preview.6.25304.106...
Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>.github/workflows/copilot-setup-steps.yml (#10193)1 parent 96a73e6 commit 20de949
4 files changed
Lines changed: 46 additions & 1 deletion
File tree
- .github/workflows
- build-tools
- create-packs
- scripts
- xa-prep-tasks/Xamarin.Android.BuildTools.PrepTasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| |||
0 commit comments