There was an error while loading. Please reload this page.
1 parent 06fd32c commit e959bd1Copy full SHA for e959bd1
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,33 @@
1
+name: Build and Test
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build-and-test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
17
+ - name: Install dependencies
18
+ run: sudo apt-get update && sudo apt-get install -y cmake build-essential
19
20
+ - name: Create build directory
21
+ run: mkdir build
22
23
+ - name: Run CMake
24
+ run: cmake ..
25
+ working-directory: build
26
27
+ - name: Build
28
+ run: make
29
30
31
+ - name: Test
32
+ run: ./tests/constrained_ilqr_tests
33
0 commit comments