File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Local Test Workflow
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ test :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v4
12+
13+ - name : Install dependencies
14+ run : |
15+ sudo apt-get update
16+ sudo apt-get install -y build-essential cmake
17+
18+ - name : Configure
19+ run : cmake -B build
20+
21+ - name : Build
22+ run : cmake --build build
23+
24+ - name : Test
25+ run : |
26+ cd build
27+ ctest --output-on-failure
Original file line number Diff line number Diff line change 1+ # This workflow builds and tests Qedit using CMake
2+ name : Tests
3+
4+ on :
5+ push :
6+ branches : [ main ]
7+ pull_request :
8+ branches : [ main ]
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Install dependencies
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y build-essential cmake
21+
22+ - name : Configure
23+ run : cmake -B build
24+
25+ - name : Build
26+ run : cmake --build build
27+
28+ - name : Test
29+ run : |
30+ cd build
31+ ctest --output-on-failure
32+
You can’t perform that action at this time.
0 commit comments