Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow integration #29

Merged
merged 8 commits into from
Sep 4, 2020
Merged

Workflow integration #29

merged 8 commits into from
Sep 4, 2020

Conversation

akuker
Copy link
Member

@akuker akuker commented Aug 28, 2020

  • Updated makefile to create multiple "connection type" builds at the same time
  • Updated github workflow to build the fullspec and standard versions of rascsi and archive the files
  • Updated github workflow to work for all branches
  • Updated makefile to only re-build changed files and to generate/use the headers when checking for changes

@akuker akuker requested a review from sfiera August 29, 2020 02:16
Copy link
Collaborator

@sfiera sfiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, it’s nice to do deps properly.

.github/workflows/c-cpp.yml Show resolved Hide resolved
src/raspberrypi/.gitignore Show resolved Hide resolved
OBJ_RASDUMP := $(SRC_RASDUMP:%.cpp=$(OBJDIR)/%.o)
OBJ_SASIDUMP := $(SRC_SASIDUMP:%.cpp=$(OBJDIR)/%.o)
OBJ_SCSIMON := $(SRC_SCSIMON:%.cpp=$(OBJDIR)/%.o)
OBJ_RASCSI := $(addprefix $(OBJDIR)/,$(notdir $(SRC_RASCSI:%.cpp=%.o)))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you started the compilation and linker rules with @mkdir -p $(dir $@), you could keep the directories in the path and revert the path manipulation you added. (also remove the dirs from prereqs)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of having shell commands inline in the makefile. I prefer to use the target/prerequisites functionality of make. Are you OK with leaving this the way it is?

@akuker akuker merged commit bb379b8 into master Sep 4, 2020
@akuker akuker deleted the workflow_integration branch January 25, 2021 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants