Repository navigation
Add workflow for running tests on a Github runner #63
This file contains hidden or 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-FileCopyrightText: 2024 Fredrik Salomonsson <plattfot@posteo.net> | |
| # | |
| # SPDX-License-Identifier: GPL-3.0-or-later | |
| name: Makefile CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Create install directory | |
| run: mkdir -p build/{usr/bin,usr/lib,etc} | |
| - name: Build and install | |
| run: make install PREFIX=build |