-
Notifications
You must be signed in to change notification settings - Fork 8
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
[???] Add build action for PRs #370
base: main
Are you sure you want to change the base?
[???] Add build action for PRs #370
Conversation
We probably want main to clean build?
This is taken from the GH docs. https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries Note: This seems to just speed up cache eviction.
Caches are cleaned automatically.
After thinking about this a little more, making sure the project compiles correctly is more important than the amount of time taken to build it. Let's remove/disable ccache for now. |
Do we also want this to run on main, or just PRs? |
On PRs is good. See irods/irods for reference. |
I'll take out cache and put in a separate draft so we won't forget about it |
In that case, only thing to do is remove cache. Already only acts on PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Nice and clean.
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
- name: Install Misc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the same wording as in irods/irods for this.
Install Prerequisites
@@ -0,0 +1,54 @@ | |||
name: iRODS HTTP API Builder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at irods/irods, how do you feel about changing this to one of the following?
Build-Ubuntu
build-irods-http-api-ubuntu
Then we could expand this to cover other versions of Ubuntu, and later other platforms such as EL8 and EL9.
irods-dev=4.3.2-0~jammy \ | ||
irods-runtime=4.3.2-0~jammy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we using 4.3.2 here because it's the declared minimum required version in the CMakeLists?
Also, needs an issue number. Seems good overall |
Ccache can be removed if we want a clean build every run.