Skip to content

Commit eb3ec14

Browse files
authored
Create copilot-setup-steps.yml (#7478)
1 parent aea5651 commit eb3ec14

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Copilot Setup Steps"
2+
3+
# Allow testing of the setup steps from your repository's "Actions" tab.
4+
on: workflow_dispatch
5+
6+
jobs:
7+
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
8+
# See https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
9+
copilot-setup-steps:
10+
runs-on: 8-core-ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
15+
# You can define any steps you want, and they will run before the agent starts.
16+
# If you do not check out your code, Copilot will do this for you.
17+
steps:
18+
- uses: actions/[email protected]
19+
20+
- name: Install Dependencies
21+
run: |
22+
sudo ./eng/common/native/install-dependencies.sh && \
23+
sudo apt-get install -qq -y \
24+
libomp-dev
25+
26+
- name: Build
27+
run: ./build.sh
28+
29+
- name: Put dotnet on the path
30+
run: echo "PATH=$PWD/.dotnet:$PATH" >> $GITHUB_ENV
31+
32+
- name: Run dotnet info
33+
run: dotnet --info

0 commit comments

Comments
 (0)