Add make install with support for prefix and GNU standard locations #2
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: Test install | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- 'include/**' | |
- 'tools/src/**' | |
- 'Makefile' | |
- '*.mk' | |
- '.github/workflows/install.yml' | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'include/**' | |
- 'tools/src/**' | |
- 'Makefile' | |
- '*.mk' | |
- '.github/workflows/install.yml' | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
env: | |
CC: gcc | |
steps: | |
- name: install doxygen | |
run: sudo apt-get install doxygen | |
- name: install xchange | |
uses: Smithsonian/xchange/.github/workflows/install.yml@main | |
- uses: actions/checkout@v4 | |
- name: Install to default location | |
run: sudo make install | |