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

Update ci #7

Merged
merged 8 commits into from
Nov 21, 2023
Merged

Update ci #7

merged 8 commits into from
Nov 21, 2023

Conversation

NelsonVides
Copy link
Collaborator

Recover #5 with an idea from #6.
CI stopped running in the first PR so I just created a new one.

@NelsonVides NelsonVides mentioned this pull request Nov 21, 2023
@NelsonVides NelsonVides force-pushed the update_ci branch 2 times, most recently from d8114fd to 988f886 Compare November 21, 2023 10:06
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a8c90f2) 89.94% compared to head (988f886) 71.42%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #7       +/-   ##
===========================================
- Coverage   89.94%   71.42%   -18.52%     
===========================================
  Files           2        1        -1     
  Lines         179       14      -165     
  Branches       13        0       -13     
===========================================
- Hits          161       10      -151     
+ Misses         18        4       -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 1 to 8
Artifacts = case os:type() of
{win32, _} ->
[{artifacts, ["priv/fast_pbkdf2.dll"]}];
_ ->
[{artifacts, ["priv/fast_pbkdf2.so"]}]
end,

CONFIG ++ Artifacts.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@big-r81 can you check that without this it still works for rebar2? I checked source-code for rebar2 and for rebar3+pc and the filetype should be replaced automatically, see for example https://github.com/blt/port_compiler/blob/master/src/pc_port_specs.erl#L220

Copy link
Contributor

@big-r81 big-r81 Nov 21, 2023

Choose a reason for hiding this comment

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

@NelsonVides I will test this. The idea behind the "artifacts" isn't the correct naming of the dynamic library (this works with and without the script). It's for the "status" of the build, if the binaries are build correctly. If the build fails, it will give a warning "Hey, the binaries aren't produced" ... And I can't use e.g. an "*" as "priv/fast_pbkdf2.*" as static artifacts "command" in rebar.config.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All right, will push this PR without the commit removing this, doesn't bother much and we can always remove it later if it turns out to be unneeded. Will merge this when CI passes, thanks for your help 😄

@NelsonVides NelsonVides merged commit e950e1b into main Nov 21, 2023
4 checks passed
@NelsonVides NelsonVides deleted the update_ci branch November 21, 2023 15:05
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.

3 participants