Skip to content

Fix the CI #4868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 5 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,19 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: CI Setup
- name: Install freetype
run: sudo apt install libfreetype-dev
- name: Build wrench
run: |
sudo ./ci-scripts/docker-image/setup.sh
sudo apt install meson -y
- name: Run Tests
run: ./ci-scripts/linux-debug-tests.sh
env:
RUST_BACKTRACE: 1

linux-release:
name: Linux (Release)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: CI Setup
run: |
sudo ./ci-scripts/docker-image/setup.sh
sudo apt install meson -y
- name: Run Tests
run: ./ci-scripts/linux-release-tests.sh
env:
RUST_BACKTRACE: 1
cd wrench
cargo build

build_result:
name: Result
runs-on: ubuntu-latest
if: ${{ always() }}
needs:
- linux-debug
- linux-release
steps:
- name: Success
if: ${{ !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
Expand Down