Skip to content

Commit 467ea66

Browse files
committed
Revert "update build configurations"
This reverts commit 53fb72f.
1 parent 3e1a954 commit 467ea66

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

.github/workflows/nix-build.yml

+6-25
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- 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
2813

2914
- name: Compile
30-
# shell: nix develop --command {0}
31-
run: |
32-
make -C build install
15+
run: nix develop --command make
3316

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

0 commit comments

Comments
 (0)