mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00

* switch to dtolnay/toolchain * Add .dockerignore to avoid copying target/ into images * update corrosion
28 lines
811 B
YAML
28 lines
811 B
YAML
name: release-tests
|
|
on: [push, pull_request]
|
|
jobs:
|
|
check-tarball:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- 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: Install uuid-dev
|
|
run: sudo apt install 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
|