diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 09efe4d..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,5 +0,0 @@ -[alias] -rr = "run --release" - -[target.aarch64-apple-darwin] -rustflags = ["-C", "link-args=-ObjC"] diff --git a/.github/workflows/ci-rs.yml b/.github/workflows/ci-rs.yml deleted file mode 100644 index f5eb7dc..0000000 --- a/.github/workflows/ci-rs.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: CI-RS - -on: - push: - paths: - - "**/lkgpt/**" - - "**/Cargo.lock" - - "**/Cargo.toml" - - "**/rust-toolchain" - - "**/.taplo.toml" - workflow_dispatch: - -env: - CARGO_TERM_COLOR: always - -# Cancel old builds on new commit for same workflow + branch/PR -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - ci-rs: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - rust-toolchain: - - nightly - - steps: - - name: Get source code - uses: actions/checkout@v3 - - - name: Setup ${{ matrix.rust-toolchain }} rust toolchain with caching - uses: brndnmtthws/rust-action@v1 - with: - toolchain: ${{ matrix.rust-toolchain }} - components: rustfmt, clippy - enable-sccache: "true" - - - name: Install binaries - run: sudo apt-get update && sudo apt-get install -y clang pkg-config libavfilter-dev libavdevice-dev libavcodec-dev libavformat-dev libavutil-dev - - - name: Build - run: cargo build --release # --verbose - - - name: Test - run: cargo test --release # --verbose - - - name: Lint - run: cargo fmt --all -- --check - # && cargo clippy --verbose -- -D warnings - - # - name: Bloat Check - # uses: cs50victor/cargo-bloat-action@master - # with: - # token: ${{ secrets.GITHUB_TOKEN }} - # kv_token: ${{ secrets.KV_TOKEN }} - # included_packages: "lkgpt" diff --git a/.github/workflows/ci-ts.yml b/.github/workflows/ci-ts.yml index 275de4f..f4c8e2b 100644 --- a/.github/workflows/ci-ts.yml +++ b/.github/workflows/ci-ts.yml @@ -2,13 +2,6 @@ name: CI-TS on: push: - paths: - - "**/meet/**" - - "**/ci-ts.yml" - - "**/.eslintrc.json" - - "**/.node-version" - - "**/package.json" - - "**/pnpm-lock.yaml" workflow_dispatch: env: @@ -37,5 +30,11 @@ jobs: run: bun install --ignore-scripts # Errors out on build when separated into multiple steps - - name: Install, Build, and Lint Meet - run: cd meet && bun install --ignore-scripts && bun run build && bun run lint + - name: Install + run: bun install --ignore-scripts + + - name: Build + run: bun run build + + - name: Lint + run: bun run lint