We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 587d59e commit 6b79b3eCopy full SHA for 6b79b3e
.github/workflows/ci.yml
@@ -0,0 +1,38 @@
1
+name: "CI"
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+ pull_request:
9
10
+jobs:
11
+ checks:
12
+ runs-on: 'ubuntu-latest'
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: actions/setup-python@v4
16
+ with:
17
+ python-version: '3.12'
18
+ cache: 'pip'
19
+ - run: pip install -r requirements.txt
20
+ - name: Checks
21
+ uses: pre-commit/[email protected]
22
23
+ gcc:
24
25
+ strategy:
26
+ matrix:
27
+ cxx: [gcc, clang]
28
+ name: ${{ matrix.cxx }}
29
+ env:
30
+ CXX: ${{ matrix.cxx }}
31
32
+ - uses: actions/checkout@v4
33
+ - name: CMake
34
+ run: cmake -B build
35
+ - name: Build
36
+ run: make -C build -j `nproc`
37
+ - name: Test
38
+ run: ctest build/test/bash
0 commit comments