mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-03 16:17:19 +02:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/checkout](https://github.com/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 ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
886 B
YAML
31 lines
886 B
YAML
name: release-tests
|
|
on: [push, pull_request]
|
|
jobs:
|
|
check-tarball:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
id: toolchain
|
|
|
|
- name: Cache cargo registry
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.cargo/registry
|
|
key: ${{ runner.os }}-cargo-registry-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
- name: Update apt repos
|
|
run: sudo apt-get update -y
|
|
|
|
- name: Install uuid-dev
|
|
run: sudo apt-get install -y uuid-dev
|
|
|
|
- name: make a release tarball and build from it
|
|
run: |
|
|
cmake -S. -Bbuild &&
|
|
make -Cbuild package_source &&
|
|
tar -xf build/task-*.tar.gz &&
|
|
cd task-*.*.* &&
|
|
cmake -S. -Bbuild &&
|
|
cmake --build build --target task_executable
|