update the action workflow to not build the compiler #186
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Nix Build" | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- name: Configure | |
shell: nix develop --command {0} | |
run: | | |
mkdir -p build | |
cd build && cmake ../ -DALASKA_ENABLE_COMPILER=OFF \ | |
-DALASKA_ENABLE_TESTING=ON \ | |
-DCMAKE_INSTALL_PREFIX:PATH=../local | |
- name: Compile | |
shell: nix develop --command {0} | |
run: | | |
make -C build | |
- name: Run Tests | |
shell: nix develop --command {0} | |
run: | | |
build/runtime/alaska_test |