mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 14:36:42 +02:00
test: fix ci/cd tests 🚨
This commit is contained in:
parent
49dfa751dd
commit
a2568c1fd8
2 changed files with 30 additions and 19 deletions
45
.github/workflows/cd.yml
vendored
45
.github/workflows/cd.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
tags:
|
||||
- v*
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -15,44 +15,44 @@ jobs:
|
|||
include:
|
||||
- os: macOS-latest
|
||||
target: x86_64-apple-darwin
|
||||
rust_flags: ''
|
||||
features: ''
|
||||
binary_postfix: ''
|
||||
rust_flags: ""
|
||||
features: ""
|
||||
binary_postfix: ""
|
||||
upx_args: --best
|
||||
strip: true
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
rust_flags: ''
|
||||
features: ''
|
||||
binary_postfix: ''
|
||||
rust_flags: ""
|
||||
features: ""
|
||||
binary_postfix: ""
|
||||
upx_args: --best --lzma
|
||||
strip: true
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-musl
|
||||
rust_flags: ''
|
||||
features: ''
|
||||
binary: 'taskwarrior-tui-x86_64-unknown-linux-musl'
|
||||
rust_flags: ""
|
||||
features: ""
|
||||
binary: "taskwarrior-tui-x86_64-unknown-linux-musl"
|
||||
upx_args: --best --lzma
|
||||
strip: true
|
||||
- os: windows-latest
|
||||
target: x86_64-pc-windows-gnu
|
||||
rust_flags: -C target-feature=+crt-static
|
||||
features: ''
|
||||
binary_postfix: '.exe'
|
||||
features: ""
|
||||
binary_postfix: ".exe"
|
||||
upx_args: -9
|
||||
strip: false
|
||||
- os: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
rust_flags: -C target-feature=+crt-static
|
||||
features: ''
|
||||
binary_postfix: '.exe'
|
||||
features: ""
|
||||
binary_postfix: ".exe"
|
||||
upx_args: -9
|
||||
strip: false
|
||||
- os: windows-latest
|
||||
target: i686-pc-windows-msvc
|
||||
rust_flags: -C target-feature=+crt-static
|
||||
features: ''
|
||||
binary_postfix: '.exe'
|
||||
features: ""
|
||||
binary_postfix: ".exe"
|
||||
upx_args: -9
|
||||
strip: false
|
||||
env:
|
||||
|
@ -286,7 +286,18 @@ jobs:
|
|||
toolchain: nightly
|
||||
override: true
|
||||
profile: minimal
|
||||
- run: sudo apt-get update && sudo apt-get install -y taskwarrior
|
||||
- run: sudo apt-get update
|
||||
- name: Compile taskwarrior
|
||||
run: |
|
||||
cd /tmp
|
||||
git clone https://github.com/GothenburgBitFactory/taskwarrior
|
||||
cd taskwarrior
|
||||
git checkout v2.6.1
|
||||
cmake -DCMAKE_BUILD_TYPE=release -DENABLE_SYNC=OFF .
|
||||
make
|
||||
sudo make install
|
||||
- run: |
|
||||
task --version
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: kdheepak/taskwarrior-testdata
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -41,12 +41,12 @@ jobs:
|
|||
cmake -DCMAKE_BUILD_TYPE=release -DENABLE_SYNC=OFF .
|
||||
make
|
||||
sudo make install
|
||||
- run: |
|
||||
task --version
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: kdheepak/taskwarrior-testdata
|
||||
path: taskwarrior-testdata
|
||||
- run: |
|
||||
task --version
|
||||
- run: |
|
||||
# prepare taskwarrior, initial setup
|
||||
task rc.confirmation=off || echo 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue