Skip to content

Commit

Permalink
Fix release workflow for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzheiber committed May 12, 2022
1 parent ab8c6b3 commit 06ca2cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build:
name: Build on Linux
runs-on: ubuntu-22.04
env:
RUST_BACKTRACE: "full"
steps:
- uses: actions/checkout@v3
- name: Install Rust stable
Expand Down Expand Up @@ -52,14 +54,14 @@ jobs:
DEBIAN_FRONTEND: "noninteractive"
run: |
sudo apt update && sudo apt install -y libdbus-1-dev gnome-keyring dbus-x11 libssl-dev
mkdir -p ~/.cache ~/.local/share/keyrings
- name: Test
env:
RUST_BACKTRACE: "full"
GITHUB_ACTIONS_OS: "linux"
run: |
cargo fmt -- --check
cargo clippy --release
ci/test.sh
export $(dbus-launch)
eval "printf '\n' | gnome-keyring-daemon --unlock"
cargo test --release --locked
release:
runs-on: ubuntu-22.04
needs: [build, test]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
run: |
cargo fmt -- --check
cargo clippy --release
cargo test --release --locked
cargo test

0 comments on commit 06ca2cb

Please sign in to comment.