Skip to content

Commit

Permalink
chore: text rust ci fix (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs50victor authored Jan 18, 2024
1 parent 5730ee2 commit cc4715f
Show file tree
Hide file tree
Showing 6 changed files with 350 additions and 42 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: CI-RS
on:
push:
paths:
- "**/.github/workflows/ci-rs.yml"
- "**/new_media/**"
- "**/Cargo.lock"
- "**/Cargo.toml"
Expand All @@ -12,6 +13,9 @@ on:

env:
CARGO_TERM_COLOR: always
# Set more verbose terminal output
CARGO_TERM_VERBOSE: true
RUST_BACKTRACE: 1

# Cancel old builds on new commit for same workflow + branch/PR
concurrency:
Expand All @@ -20,7 +24,9 @@ concurrency:

jobs:
ci-rs:
runs-on: ubuntu-latest
# revert later
# runs-on: ubuntu-latest
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -38,8 +44,8 @@ jobs:
components: rustfmt, clippy
enable-sccache: "true"

- name: Install binaries
run: sudo apt-get update && sudo apt-get install -y clang
# - name: Install binaries
# run: sudo apt-get update && sudo apt-get install -y clang pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 gcc-multilib

- name: Build
run: cargo build --release # --verbose
Expand Down
Loading

0 comments on commit cc4715f

Please sign in to comment.