summaryrefslogtreecommitdiffstats
path: root/.github
AgeCommit message (Collapse)Author
2021-04-29Upgrade to GitHub-native Dependabot (#579)dependabot-preview[bot]
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-15CI: check docs (#559)Marco Ieni
* CI: check docs * Don't use triple-slash doc comments A full pass would need to be done to make the comments suitable for generating documentation. Co-authored-by: Dan Davison <dandavison7@gmail.com>
2020-12-27Reference correct token in bump-homebrew-formula workflowDan Davison
Should fix #460. Thanks @MarcoIeni
2020-12-26Merge pull request #467 from MarcoIeni/patch-2Dan Davison
ci: run also on push
2020-12-26CI on push-to-master and pull_request, per @MarcoIeniDan Davison
2020-12-26cd: set MACOSX_DEPLOYMENT_TARGET to 10.7 (#468)Philippe Blain
The binary release of delta 0.4.5 for macOS created by the "Continuous Deployment" GitHub Actions workflow does not run on older macOS, like 10.11 (El Capitan) [1]. The Rust compiler, rustc, by default, will build macOS binaries compatible with macOS 10.7 or newer [2], [3], but some *-sys crates invoke a C compiler and thus will target the macOS version the C compiler is running on [4], thus limiting the compatibility of the resulting binary. The macOS virtual machines used on GitHub Actions run macOS 10.15.7, and since delta depends on some *-sys crates, the delta binary built by cargo targets macOS 10.15, as can be verified by using the following command: $ otool -l ./target/x86_64-apple-darwin/release/delta | grep LC_BUILD_VERSION -A4 cmd LC_BUILD_VERSION cmdsize 32 platform 1 sdk 10.15.6 minos 10.15 or, if building locally on an older macOS versions, (here 10.11): $ otool -l ./target/debug/delta | grep LC_VERSION_MIN_MACOSX -A2 cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.11 To restore compatibility with older macOS version, explicitely set the environment variable `MACOSX_DEPLOYMENT_TARGET` to the default for rustc, "10.7". This will make the `clang` C compiler invoked by *-sys crates also target 10.7, thus restoring the compatibility of the delta binary. For simplicity, add this variable to the environment for all platforms, which should not have any effect on non-macOS platforms. [1] https://github.com/dandavison/delta/issues/462 [2] https://github.com/rust-lang/rust/blob/65d053ab74d8c8c9c502b678acc265f3d7e2ac49/compiler/rustc_target/src/spec/apple_base.rs#L15-L17 [3] https://github.com/rust-lang/rust/blob/65d053ab74d8c8c9c502b678acc265f3d7e2ac49/compiler/rustc_target/src/spec/apple_base.rs#L53-L61 [4] https://users.rust-lang.org/t/compile-rust-binary-for-older-versions-of-mac-osx/38695/5
2020-12-26ci: run also on pushMarco Ieni
2020-12-23automatically publish to crates.io on tag (#419)Marco Ieni
* automatically publish to crates.io on tag * Update cd.yml Add newline Co-authored-by: Dan Davison <dandavison7@gmail.com>
2020-12-16Run CI on pull_request only (#450)Dan Davison
2020-12-13Add cd to update brew formula in homebrew coreulwlu
2020-12-03Add test coverage of main.rs (#423)Dan Davison
* Refactor: pass handle to writer * Add test of list_syntax_themes * Add test of show_syntax_themes * Refactor: pass writer handle * Add test of show_config * Exclude main function from coverage calculations * DEBUGGING * Refactor: only use stdin if non-empty Motivation: in the CI test build, atty::is(stdin) seems to be returning false.
2020-12-03Disable some clippy warnings (#422)Dan Davison
2020-12-02add cd (#417)Marco Ieni
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
2020-11-29ci: add unit tests for other linux targets (#413)Marco Ieni
* ci: add unit tests for other linux targets Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> * ci: runs all ubuntu configurations Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> * ci: update matrix variables Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> * ci: use cross for i686 Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
2020-11-28GitHub Continuous Integration: run tests on linux, mac and windows (#411)Marco Ieni
* GitHub actions: add integration tests Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Co-authored-by: danyspin97 <oss@danyspin97.org> Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com> * GitHub actions: fix jobs names Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> * GitHub actions: remove windows from integration tests Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Co-authored-by: danyspin97 <oss@danyspin97.org> Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com> * GitHub actions: fix target variable name Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Co-authored-by: danyspin97 <oss@danyspin97.org> Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com> Co-authored-by: danyspin97 <oss@danyspin97.org> Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com> Co-authored-by: Dan Davison <dandavison7@gmail.com>
2020-11-25CI: add code coverage (#409)Marco Ieni
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
2020-11-22ci: add end to end tests (#400)Marco Ieni
2020-11-22 add audit and some CI on ubuntu (#399)Marco Ieni
* add audit and CI on ubuntu * revert Contents changes in README Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> * README: restore new line Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
2020-07-17Edit github issue templatesDan Davison
2020-04-29Update bug templateDan Davison
2020-04-28Update issue templatesDan Davison
2020-04-28Delete superfluous issue templatesDan Davison
2020-04-28Update issue templatesDan Davison
2020-04-28Update issue templatesDan Davison
2020-04-28Update issue templatesDan Davison
2020-04-28Update issue templatesDan Davison
2020-04-28Update issue templatesDan Davison
2020-04-28Update issue templatesDan Davison