-
Notifications
You must be signed in to change notification settings - Fork 157
40 lines (34 loc) · 1.02 KB
/
copilot-setup-steps.yml
File metadata and controls
40 lines (34 loc) · 1.02 KB
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
35
36
37
38
39
40
name: "Copilot Setup Steps"
on: workflow_dispatch
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
submodules: recursive
- name: Set up C++ compiler
run: |
sudo apt-get update
sudo apt-get install -y g++ build-essential
- name: Set up CMake
run: |
sudo apt-get install -y cmake
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
# Install additional testing dependencies
python -m pip install pytest pytest-cov
python -m pip install flake8 pytest-xdist coverage
- name: Install DaCe in development mode
run: |
python -m pip install --editable ".[testing,linting,ml]"
pre-commit install
pre-commit run