1. 12 Apr, 2022 1 commit
  2. 15 Mar, 2022 1 commit
    • Michael Müller's avatar
      Include `ink_linting` folder in releases + Test publish/install in CI (#463) · 63b870de
      Michael Müller authored
      * Include `ink_linting` folder in releases
      
      * Add CI stage to test if publishing/installing works
      
      * Revert me: Skip most CI stages
      
      * Remove unneeded `--registry`
      
      * Revert "Revert me: Skip most CI stages"
      
      This reverts commit da134108a62ebb0e6ff38f613f138d3a7063c5f3.
      
      * Make CI code clearer
      
      * Remove superfluous newline
      
      * Improve comments
      
      * Refactor `build.rs`
      
      * Add comment
      
      * Add missing argument
      63b870de
  3. 25 Feb, 2022 1 commit
  4. 23 Feb, 2022 1 commit
    • Michael Müller's avatar
      Add ink! linting MVP stage (#431) · 836acbff
      Michael Müller authored
      
      
      * Add ink! linting MVP stage
      
      * CI: cache cargo installations; update versions
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarSergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
      
      * Update changelog
      
      * Check if `dylint` requirements are installed
      
      * Make `clippy` happy
      
      * Make tests happy
      
      * Make `LICENSE` symlink
      
      * Make error handling and panic's consistent
      
      * Improve code structure
      
      * Remove unneeded `--workspace`
      
      * Fix `mapping-two-constructor` test file
      
      * Simplify `Option<Vec<_>>` to `Vec`
      
      * Generalize unsetting of env variables in `invoke_cargo`
      
      * Move special case of `dylint` verbosity to call site
      
      * Keep calm and return an `Err`
      
      * Move checking for `dylint-link` to `build.rs`
      
      * Add `ink_linting/Cargo.lock`
      
      * Move `bool_to_exit_code` inline
      
      * Add test for non-fully-qualified path call of `initialize_contract`
      
      * Fix panic when no manifest path was supplied
      
      * Improve structure of `build.rs`
      
      * Make linting error message non-blaming
      
      * Remove incorrect note on not detecting indirections
      
      * Make `clippy` happy
      
      * Impprove text
      
      * Build `ink_linting` with `--locked`
      
      * Fix path separators for Windows CI
      
      * Revert "Fix path separators for Windows CI"
      
      This reverts commit b59983137305eeb2df68c38696f13bccfd849ba4.
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Use `which` for detecting `dylint-link` installation
      
      * Remove `DYLINT_DRIVER_PATH`
      
      * Add `--lib`
      
      * Revert "Remove `DYLINT_DRIVER_PATH`"
      
      This reverts commit d0d209fe60972fa9d242767079423c0b9913f3f0.
      
      * Use temporary `DYLINT_DRIVER_PATH` path during tests
      
      * Give `template` variable a speaking name
      
      Co-authored-by: CI system <>
      Co-authored-by: default avatarSergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
      836acbff
  5. 10 Feb, 2022 1 commit
  6. 09 Feb, 2022 2 commits
  7. 20 Jan, 2022 4 commits
  8. 20 Jul, 2021 1 commit
  9. 03 Jul, 2021 1 commit
  10. 30 Mar, 2021 1 commit
  11. 24 Mar, 2021 1 commit
  12. 10 Mar, 2021 1 commit
    • Michael Müller's avatar
      Bring `test-ci-only` back (#180) · 4111385f
      Michael Müller authored
      * Revert "Revert me: Remove `--all-features` (#114)"
      
      This reverts commit 4a0d352b
      
      .
      
      * Pass verbosity flag
      
      * Format use
      
      * Run tests without `binaryen-as-dependency`
      
      * Update to `scale-info` 0.6
      
      * Fix `value used after move`
      
      * Do not continue processing wasm on `check`
      
      Results in `No such file` otherwise, since
      no *.wasm is generated on `check`.
      
      * Make casing consistent for `log` messages
      
      * Clarify behavior of `check`
      
      * Revert me: add debug output
      
      * Upgrade `cargo_metadata` to 0.13.1
      
      * Fix assert for target path `target/ink`
      
      * Revert "Revert me: add debug output"
      
      This reverts commit d2bf1dd9e7dc9f8ca7c82e7abd18ee762844eb31.
      
      * Revert "Upgrade `cargo_metadata` to 0.13.1"
      
      This reverts commit 723c9b294dabadf31a4c3fa39dddfc8356f83ccf.
      
      * Run tests only with `binaryen-as-dependency`
      
      * Upgrade cargo-metadata and fix usages (#210)
      
      * Only allow new contract names beginning with an alphabetic character (#219)
      
      * Only allow contract names beginning with an alphabetic character
      
      * Add test for contract name beginning with a number
      
      * Add test for contract name beginning with a number
      
      * Run tests only with `binaryen-as-dependency`
      
      * Refactor
      
      * Revert "Refactor"
      
      This reverts commit defe20db97bdcd42809e29e67a748511131a9e42.
      
      Co-authored-by: Andrew Jones's avatarAndrew Jones <ascjones@gmail.com>
      4111385f
  13. 02 Dec, 2020 1 commit
    • Denis_P's avatar
      Nightly test new CI image (#115) · 18ce1e14
      Denis_P authored
      * CI: put image name into a var so it can be changed by a upstream pipeline trigger
      
      * CI: explanation for the ancestors
      18ce1e14
  14. 01 Dec, 2020 1 commit
  15. 05 Nov, 2020 1 commit
  16. 27 Oct, 2020 1 commit
    • Denis_P's avatar
      Some modern CI features (#90) · 9f3a7bbe
      Denis_P authored
      * change (CI): some modern CI features
      
      * change (conf): chown
      
      * change (CI): missed one `only`
      
      * change (CI): create config file in new CARGO_HOME
      
      * change (CI): mkdir for prepopulation 1 step deeper
      
      * change (CI): do not look in the same dir
      9f3a7bbe
  17. 10 Sep, 2020 1 commit
    • Andrew Jones's avatar
      Extract contract metadata to its own crate (#69) · f0e7cabb
      Andrew Jones authored
      * Extract contract metadata to its own crate
      
      * Add json serialization test
      
      * Add json test for excluding optional fields
      
      * Add doc tests and rename to contract-metadata
      
      * Fmt
      
      * Fix tests
      
      * Fmt
      
      * Builder API for contract metadata
      
      * Tests for builder pattern
      
      * Fmt
      
      * Make metadata version camel case
      
      * Builder optional fields
      
      * Check whether fields have not already been set
      
      * Check at least one author
      
      * I really should check it compiles before pushing
      
      * Oh yeah and cargo fmt fml
      
      * Yeah
      f0e7cabb
  18. 09 Jul, 2020 1 commit
  19. 09 Mar, 2020 1 commit
    • Denis_P's avatar
      Fix saving artifact (#46) · 47befe5c
      Denis_P authored
      * change the CI docker image
      
      * should have created the dir to store artifacts
      
      * test saving artifact
      
      * test ok, ready to merge
      47befe5c
  20. 02 Mar, 2020 1 commit
    • Denis_P's avatar
      Save built artifact, it will be available in gitlab job (#17) · 7da03c18
      Denis_P authored
      * save built artifact, it will be available in gitlab job
      
      * change the CI docker image
      
      * if gitlab can rebase
      
      * if gitlab can rebase to origin
      
      * git creds
      
      * whatever origin should work
      
      * how to know that I'm on the right branch
      
      * remove --release from test
      7da03c18
  21. 26 Feb, 2020 1 commit
    • Andrew Jones's avatar
      Reduce wasm binary size with `cargo-xbuild` & removing `rlib` crate-type (#33) · ec118fff
      Andrew Jones authored
      * WIP: building wasm with xargo
      
      * Fix compilation errors
      
      * Fmt
      
      * Run commands with `rustup run nightly`
      
      * Pass separate link-args in rustflags for xargo compat
      
      * Warn user if 'rlib' crate type
      
      * Colourise printed error
      
      * Ignore Xargo.toml in template
      
      * Refactor Xargo file generation, only remove if generated.
      
      * WIP: Add rlib crate-type when generating metadata
      
      * Add rlib when building metadata, remove when building wasm
      
      * Fmt
      
      * Make error bright red
      
      * Fix generating without modified Cargo.toml
      
      * Don't need to check nightly installed, the command will fail
      
      * Only load toml when ready to modify: allow for multi usage
      
      * Fmt
      
      * Show error context
      
      * Debug crate metadata
      
      * Disable rlib by default for template
      
      * Use correct working dir, not workspace root
      
      * Use `cargo-xbuild` as lib
      
      * Check for nightly channel
      
      * Check for correct xbuild configuration
      
      * Add xbuild config to template
      
      * Fix xbuild config check and use latest xbuild version
      
      * Fmt
      
      * Restore tempfile dev dependency
      
      * Move xbuild config to the end of the file
      
      * Enable rlib by default in template
      
      * Don't need nightly for generating the metadata
      
      * Actually do need nightly, and just run plain cargo
      
      * Not verbose: need to pass that flag through properly
      
      * Fmt
      
      * Fix tests
      
      * Error when xbuild config not present, and update README
      
      * Fix tests
      
      * Remove references to xargo and update readmes
      
      * Fmt
      
      * Add error context to cargo invocation
      
      * Fix tests compilation
      
      * Fmt
      
      * Nightly toolchain for CI
      
      * Add docs for nightly toolchain requirement
      
      * Link to nightly docs
      
      * Disable backtrace on CI
      
      * Make tests pass
      
      * Install rust-src
      
      * Disable backtrace to make tests pass
      
      * Move args closer to invocation
      
      * Create temporary Cargo.toml
      
      * Rework temp manifest api
      
      * Target dir is already absolute
      
      * temp dir prefix
      
      * xbuild config with sysroot path and explicit args
      
      * Use custom xbuild branch
      
      * Remove check for xbuild config
      
      * Rewrite relatives paths when using temp file
      
      * Fix dependency path rewrite
      
      * Update cargo-xbuild
      
      * workspaces: parse workspace member manifests
      
      * WIP workspaces
      
      * Implement temp workspace copy
      
      * Fmt
      
      * Rewrite bin relative path
      
      * Handle package rename for contracts
      
      * Fmt
      
      * Pass rustflags by setting env var
      
      * Fmt
      
      * Use abs path for lib default
      
      * Add 1 decimal place to file size
      
      * Make generate-metadata work, introduces ManifestPath
      
      * Fmt
      
      * cargo update
      
      * Rename manifest to workspace
      
      * Fix test compilation and fmt
      
      * Fix link
      
      * Add prerequisites section to readme
      
      * Remove rust-src component (added to image)
      
      * Fix deploy build
      
      * Use builder like method for amending root manifest
      
      * List installed components
      
      * Show active-toolchain and whether rust-src installed
      
      * Install nightly rust-src (temporary)
      
      * Fix metadata test
      
      * Fmt
      
      * Remove manual install of rust-src and diagnostics
      
      * More doc comments
      
      * Add verbosity flags
      
      * Add verbosity flags to metadata command
      
      * Fix working dir for generate-metadata
      
      * Add verbosity to tests
      
      * Add verbosity to tests
      
      * Make url optional and cargo update
      
      * Remove bk file from gitignore
      
      * Bump version
      
      * Fix comment and formatting
      
      * Add CHANGELOG.md
      ec118fff
  22. 03 Feb, 2020 1 commit
    • Andrew Jones's avatar
      Fix default features build (#26) · e3ba2212
      Andrew Jones authored
      * Check default features build in CI
      
      * Hide extrinsics only stuff behind feature
      
      * Make submit_extrinsic crate public
      
      * Fmt
      
      * Make build run on CI with default features
      e3ba2212
  23. 13 Jan, 2020 1 commit
  24. 09 Jan, 2020 1 commit
  25. 08 Jan, 2020 1 commit