-
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 GitHub Workflow for release builds (#29)
* Add basic Docker build for Debian Bookworm. * Starter GitHub Workflow for testing releases. * Add CMake build presets. * Use Bookworm "slim" image. * Add tag filter so release workflow only runs on commits tagged with a version number.
- Loading branch information
Showing
4 changed files
with
96 additions
and
23 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,27 @@ | ||
#**/__pycache__ | ||
#**/.venv | ||
#**/.classpath | ||
**/.dockerignore | ||
**/.env | ||
**/.git | ||
**/.gitignore | ||
**/.github | ||
#**/.project | ||
#**/.settings | ||
#**/.toolstarget | ||
**/.vs | ||
**/.vscode | ||
#**/*.*proj.user | ||
#**/*.dbmdl | ||
#**/*.jfm | ||
#**/bin | ||
#**/charts | ||
#**/docker-compose* | ||
#**/compose* | ||
**/Dockerfile* | ||
#**/node_modules | ||
#**/npm-debug.log | ||
build/ | ||
CMakeUserPresets.json | ||
LICENSE.md | ||
README.md |
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
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,20 @@ | ||
FROM debian:bookworm-slim | ||
|
||
RUN apt-get update && apt-get -y --no-install-recommends --no-install-suggests install \ | ||
build-essential \ | ||
cmake \ | ||
libcurlpp-dev \ | ||
libboost-json1.81-dev \ | ||
libwxgtk3.2-dev \ | ||
&& apt-get clean \ | ||
&& rm -r /var/lib/apt/lists /var/cache/apt | ||
|
||
WORKDIR /src | ||
COPY . /src | ||
|
||
# NOTE: We have to run the configure step and the build step together | ||
# because /src/build is bind-mounted to the host machine, and that | ||
# needs to occur before the configure step is run or else the | ||
# files are obscured. | ||
|
||
CMD cmake --preset release && cmake --build --preset release |