31 Commits

Author SHA1 Message Date
dependabot[bot]
1b8e377e60 chore(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 09:34:11 +01:00
dependabot[bot]
195b9fa260 chore(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 13:22:46 +02:00
Henrik Friedrichsen
05a985cfe3 feat(ci): Lint + Build for aarch64 (#1581)
* feat(ci): Lint for aarch64

* feat(cd): Build release for aarch64

* doc: Update CHANGELOG
2025-01-23 20:15:21 +01:00
Henrik Friedrichsen
bfa5653c13 ci: Remove cross-compilation releases
They are broken at the moment and I don't have the capacity to maintain them.
2024-10-16 00:18:23 +02:00
Henrik Friedrichsen
4ac180816d fix(cd): Set TERM to fix ncurses build 2024-09-21 20:05:27 +02:00
Alexandre Bury
02f72b1c21 chore: Update cursive to 0.21.0
* Update cursive to 0.21.0

* Inject TERM=xterm in CI to help build ncurses backend
2024-08-04 17:27:58 +02:00
dependabot[bot]
dc90772bfe chore(deps): bump the github-actions group with 1 update
Bumps the github-actions group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 17:48:40 +01:00
Henrik Friedrichsen
0f1a9ab579 ci: Run tests in CI
* ci: Run tests in CI

Thanks to contributors test coverage is becoming a thing, thus it makes sense to
run tests in CI workflows.

Additionally, switch back to `cargo build` instead of `cargo check`, as the
tests need compilation anyway.

* ci: Enable build for `macos-aarch64`

* fix: Streamline build target names

* fix: Set toolchain target correctly

* ci: Switch to `rustup` over 3rd party action
2024-03-05 11:48:35 +01:00
dependabot[bot]
306eed4f13 chore(deps): bump the github-actions group with 1 update
Bumps the github-actions group with 1 update: [actions/cache](https://github.com/actions/cache).


Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 09:23:24 +01:00
dependabot[bot]
73dea167e0 chore(deps): bump the github-actions group with 1 update
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 09:58:50 +01:00
Thomas Frans
2056e56ef5 chore(actions): remove unsupported pr-branch input
The latest version of the Rust toolchain update action supports a
`pr-branch` input. It's not yet supported on `v1.1`.
2024-01-08 09:58:36 +01:00
Thomas Frans
2b2d5745c3 chore: keep track of used toolchain version (#1319)
* chore: keep track of used toolchain version

Keeping the used toolchain version in version control makes sure that
when building older versions, the same toolchain is used every time. For
example, when `ncspot 0.12.0` has always been compiled with Rust version
`1.67.0` but the currently installed version is `1.73.0`, this file
would cause Rustup to download the older version again.

* feat: add rust-toolchain.toml update workflow
2024-01-06 12:04:31 +01:00
dependabot[bot]
08c2b8c301 chore(deps): bump the github-actions group with 1 update
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).

- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 18:09:59 +02:00
Henrik Friedrichsen
57538e2650 Switch to Crossterm backend by default
- Is capable of 256 colors
- Can handle Shift+Up/Shift+Down/etc. (#1283)
2023-09-29 22:05:12 +02:00
Henrik Friedrichsen
bd80670345 Use step output environment file
See also:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-07-24 01:58:13 +02:00
Henrik Friedrichsen
17413fbad4 Update GitHub actions for CD pipeline 2023-07-24 01:27:24 +02:00
Henrik Friedrichsen
dc2f42fd07 Revert "Update CD workflow"
This reverts commit e369994b06705c9c520266feebd89422b5be90c3.

`cross-rs/cross` has already updated to a newer Ubuntu version but not released
their images yet, thus cross-compilation builds fail. Revert for now to get out
the release. Hopefully we can reapply this change for the next release.
2023-03-09 19:49:41 +01:00
Thomas Frans
9ca72e391d CI/CD: Add clippy and update actions
* Add clippy to CI.

* Update .github/workflows/ci.yml

* Update .github/workflows/ci.yml

* Use `cargo check` instead of `cargo build`

* Update CD workflow

---------

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2023-02-28 22:49:32 +01:00
Henrik Friedrichsen
ac1cebdc3a Use Rodio backend for macOS builds
Gets rid of the dynamically linked PortAudio dependency
2022-03-23 21:51:21 +01:00
Rashil Gandhi
f29d263f41 Remove notifications' dependency on 'cover' (#706)
* Move functions from 'cover' to 'utils'

* Remove notify dependency on 'cover'

* Enable clipboard and notifications in CI/CD

* remove extra newline
2022-01-15 21:09:34 +01:00
Henrik Friedrichsen
e178837b28 Fix release build name and win32 feature (#691)
* Fix typos in release artifacts

Fixes #690

* Fix `win32` feature flag for `pancurses`

Previously, the `win32` feature was enabled for pancurses 0.17.x, which was additionally pulled in
as an extra dependency even though it wasn't used.

With this change, cargo should enable the `win32` feature in the `pancurses` instance used by `cursive`.

Fixes #690
2022-01-02 20:09:09 +01:00
Henrik Friedrichsen
487bc0dba0 Add builds for armhf
Fixes #659
2021-12-19 18:24:05 +01:00
Henrik Friedrichsen
b46d07c702 Add builds for arm64
`armhf` would require some more work as it has no tier1 support yet

Fixes #659
2021-12-18 15:54:34 +01:00
Henrik Friedrichsen
beec2867f0 Run CI on Linux/macOS/Windows 2021-12-08 21:49:51 +01:00
Henrik Friedrichsen
ec46143d62 Attach architecture to binary filenames 2021-11-29 22:34:00 +01:00
Henrik Friedrichsen
2d1923f4e7 Switch to main default branch 2021-11-07 17:23:03 +01:00
Rashil Gandhi
7622292ffa Add Windows release builds 2021-08-10 09:54:58 +02:00
Henrik Friedrichsen
6e0f00824a Improve CI/CD pipeline
- Separate checks/release builds
- Add cargo fmt back
- Upload release builds as assets

Fixes #393
2021-01-16 12:35:56 +01:00
Henrik Friedrichsen
51189c4d95 run apt update before installing dependencies 2020-04-23 21:58:01 +02:00
Henrik Friedrichsen
7ca405068d switch badges to github actions
cargo badges does not support github actions yet:
https://github.com/rust-lang/crates.io/pull/1838
2020-03-21 18:36:47 +01:00
Henrik Friedrichsen
ce31ebc25b perform CI via github actions 2020-03-21 18:26:02 +01:00