Fix bad null check #43
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
# SPDX-License-Identifier: GPL-2.0-only | |
# SPDX-FileCopyrightText: 2022 Casper Andersson <[email protected]> | |
name: Bob the Builder | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: | | |
git submodule update --init --recursive | |
- name: Install dependencies | |
run: | | |
sudo apt install libelf-dev llvm | |
- name: Configure | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=RELEASE .. | |
- name: Build | |
run: | | |
cd build | |
make -j3 | |
- name: Test | |
run: | | |
cd build | |
make test |