-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add make install with support for prefix and GNU standard locations
- Loading branch information
Showing
3 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
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: Check out xchange | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: Smithsonian/xchange | ||
path: xchange | ||
|
||
- name: Check out RedisX | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: Smithsonian/redisx | ||
path: redisx | ||
|
||
- name: Check out smax-clib | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install xchange dependency | ||
run: sudo make -C xchange install | ||
|
||
- name: Install RedisX dependency | ||
run: sudo make -C redisx install | ||
|
||
- name: Install smax-clib in default location | ||
run: sudo make install |
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
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