Skip to content

Commit

Permalink
Merge pull request #377 from jbaublitz/makefile
Browse files Browse the repository at this point in the history
Add target to Makefile to build examples
  • Loading branch information
jbaublitz authored Sep 18, 2024
2 parents a694f9e + 183c8a6 commit ed4db81
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ jobs:
include:
- task: make -f Makefile build
dependencies: libcryptsetup-dev
- task: make -f Makefile build-examples
dependencies: libcryptsetup-dev
- task: make -f Makefile docs-ci
dependencies: libcryptsetup-dev
- task: make -f Makefile test
Expand Down Expand Up @@ -153,6 +155,9 @@ jobs:
- task: make -f Makefile build
dependencies: cryptsetup-devel
container: 33
- task: make -f Makefile build-examples
dependencies: cryptsetup-devel
container: 33
- task: make -f Makefile docs-ci
dependencies: cryptsetup-devel
container: 33
Expand All @@ -176,6 +181,9 @@ jobs:
- task: make -f Makefile build
dependencies: cryptsetup-devel
container: 34
- task: make -f Makefile build-examples
dependencies: cryptsetup-devel
container: 34
- task: make -f Makefile docs-ci
dependencies: cryptsetup-devel
container: 34
Expand All @@ -199,6 +207,9 @@ jobs:
- task: make -f Makefile build
dependencies: cryptsetup-devel
container: 38
- task: make -f Makefile build-examples
dependencies: cryptsetup-devel
container: 38
- task: make -f Makefile docs-ci
dependencies: cryptsetup-devel
container: 38
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ check-typos:
build:
cargo build

build-examples:
cargo build --examples

test-compare-fedora-versions:
echo "Testing that COMPARE_FEDORA_VERSIONS environment variable is set to a valid path"
test -e "${COMPARE_FEDORA_VERSIONS}"
Expand Down

0 comments on commit ed4db81

Please sign in to comment.