Commit 467ea66 1 parent 3e1a954 commit 467ea66 Copy full SHA for 467ea66
File tree 1 file changed +6
-25
lines changed
1 file changed +6
-25
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v4
10
- # - uses: DeterminateSystems/nix-installer-action@main
11
- # - uses: DeterminateSystems/magic-nix-cache-action@main
12
- # - uses: DeterminateSystems/flake-checker-action@main
13
-
14
- - name : Install Deps
15
- run : |
16
- sudo apt update
17
- sudo apt install -y cmake build-essential libgtest-dev libgmock-dev libunwind-dev
18
-
19
- - name : Configure
20
- # shell: nix develop --command {0}
21
- run : |
22
- mkdir -p build
23
- cd build && cmake ../ -DALASKA_ENABLE_COMPILER=OFF \
24
- -DALASKA_ENABLE_TESTING=ON \
25
- -DCMAKE_C_COMPILER=gcc \
26
- -DCMAKE_CXX_COMPILER=g++ \
27
- -DCMAKE_INSTALL_PREFIX:PATH=../local
10
+ - uses : DeterminateSystems/nix-installer-action@main
11
+ - uses : DeterminateSystems/magic-nix-cache-action@main
12
+ - uses : DeterminateSystems/flake-checker-action@main
28
13
29
14
- name : Compile
30
- # shell: nix develop --command {0}
31
- run : |
32
- make -C build install
15
+ run : nix develop --command make
33
16
34
- - name : Test
35
- # shell: nix develop --command {0}
36
- run : |
37
- build/runtime/alaska_test
17
+ - name : Run Tests
18
+ run : nix develop --command make test
You can’t perform that action at this time.
0 commit comments