mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-22 05:04:39 +02:00
ci: fix missing envs in build workflow (#891)
Made a mistake in not testing properly and broke the build workflow with missing envs.
This commit is contained in:
parent
f41e7cd66d
commit
97bf8bf295
12
.github/workflows/build_releases.yml
vendored
12
.github/workflows/build_releases.yml
vendored
@ -23,6 +23,8 @@ env:
|
|||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
|
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
||||||
|
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-binaries:
|
build-binaries:
|
||||||
@ -145,8 +147,6 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
uses: ClementTsang/cargo-action@v0.0.3
|
uses: ClementTsang/cargo-action@v0.0.3
|
||||||
env:
|
env:
|
||||||
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
|
||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
|
||||||
BTM_GENERATE: true
|
BTM_GENERATE: true
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
@ -239,8 +239,6 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
BTM_GENERATE: ""
|
BTM_GENERATE: ""
|
||||||
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
|
||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
|
||||||
run: |
|
run: |
|
||||||
cargo install cargo-wix --version 0.3.1 --locked
|
cargo install cargo-wix --version 0.3.1 --locked
|
||||||
cargo wix init
|
cargo wix init
|
||||||
@ -327,8 +325,6 @@ jobs:
|
|||||||
uses: ClementTsang/cargo-action@v0.0.3
|
uses: ClementTsang/cargo-action@v0.0.3
|
||||||
env:
|
env:
|
||||||
BTM_GENERATE: true
|
BTM_GENERATE: true
|
||||||
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
|
||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --locked --verbose --features deploy --target ${{ matrix.info.target }}
|
args: --release --locked --verbose --features deploy --target ${{ matrix.info.target }}
|
||||||
@ -349,8 +345,6 @@ jobs:
|
|||||||
if: matrix.info.cross == false
|
if: matrix.info.cross == false
|
||||||
env:
|
env:
|
||||||
BTM_GENERATE: true
|
BTM_GENERATE: true
|
||||||
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
|
||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
|
||||||
run: |
|
run: |
|
||||||
cargo install cargo-deb --version 1.38.0 --locked
|
cargo install cargo-deb --version 1.38.0 --locked
|
||||||
cargo deb --no-build --target ${{ matrix.info.target }}
|
cargo deb --no-build --target ${{ matrix.info.target }}
|
||||||
@ -360,8 +354,6 @@ jobs:
|
|||||||
if: matrix.info.cross == true
|
if: matrix.info.cross == true
|
||||||
env:
|
env:
|
||||||
BTM_GENERATE: true
|
BTM_GENERATE: true
|
||||||
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
|
||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
|
||||||
run: |
|
run: |
|
||||||
docker pull ${{ matrix.info.container }}
|
docker pull ${{ matrix.info.container }}
|
||||||
docker run -t --rm --mount type=bind,source="$(pwd)",target=/volume ${{ matrix.info.container }} "--variant ${{ matrix.info.dpkg }} --target ${{ matrix.info.target }} --no-build" "/volume"
|
docker run -t --rm --mount type=bind,source="$(pwd)",target=/volume ${{ matrix.info.container }} "--variant ${{ matrix.info.dpkg }} --target ${{ matrix.info.target }} --no-build" "/volume"
|
||||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -29,6 +29,8 @@ env:
|
|||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
|
||||||
|
COMPLETION_DIR: "target/tmp/bottom/completion/"
|
||||||
|
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.ref }}
|
group: ${{ github.workflow }}-${{ github.event.ref }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user