Skip to content
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

[Cross debugging] rust=stable, cross=085092c #121

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
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
67 changes: 8 additions & 59 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,64 +28,13 @@ jobs:
profile: minimal
default: true
- uses: FrancisRussell/[email protected]
name: Install cross (workaround for (https://github.com/cross-rs/cross/issues/1453))
name: Install cross
with:
command: cargo install
args: cross --git https://github.com/cross-rs/cross --tag v0.2.5
- uses: FrancisRussell/[email protected]
name: Cargo build
with:
command: cargo build
use-cross: true
args: --target=${{ matrix.target }}
- uses: actions/[email protected]
with:
name: zoog-debug-${{ matrix.target }}
path: |
target/${{ matrix.target }}/debug/opusgain
target/${{ matrix.target }}/debug/opusgain.exe
target/${{ matrix.target }}/debug/zoogcomment
target/${{ matrix.target }}/debug/zoogcomment.exe
if-no-files-found: error

cargo-test:
name: Cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: FrancisRussell/[email protected]
name: Cargo cache
with:
command: cache
- uses: FrancisRussell/[email protected]
name: Install Rustup
with:
command: install-rustup
toolchain: nightly
profile: minimal
default: true
- uses: FrancisRussell/[email protected]
name: Run tests
with:
command: cargo test

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: FrancisRussell/[email protected]
name: Cargo cache
with:
command: cache
- uses: FrancisRussell/[email protected]
name: Install Rustup
with:
command: install-rustup
toolchain: nightly
components: clippy
default: true
- uses: FrancisRussell/[email protected]
name: Clippy
with:
command: cargo clippy
args: cross --git https://github.com/cross-rs/cross --rev 085092ca01d6ac9f5a0b612d9e68bcdf1e50f7ee
- name: Report Cross version
run: cross --version
- name: Report Rustc version
run: rustc --version
- name: Build using cross normally
run: cross build --target=${{ matrix.target }}
Loading