Skip to content
Merged
Show file tree
Hide file tree
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
30 changes: 28 additions & 2 deletions .github/workflows/Rust-Build-Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Install cargo-bundle-licenses
run: cargo install cargo-bundle-licenses

- name: generate license info (${{ matrix.os }})
run: cargo bundle-licenses --format json --output THIRDPARTY.json

- name: Build on ${{ matrix.os }}
run: cargo build --verbose

- name: Run tests on ${{ matrix.os }}
run: cargo test --verbose

Expand All @@ -32,7 +41,15 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Install cargo-bundle-licenses
run: cargo install cargo-bundle-licenses

- name: generate license info (${{ matrix.os }})
run: cargo bundle-licenses --format json --output THIRDPARTY.json

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -51,19 +68,28 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
target: ${{ matrix.target }}

- name: Install cargo-bundle-licenses
run: cargo install cargo-bundle-licenses

- name: generate license info (${{ matrix.os }})
run: cargo bundle-licenses --format json --output THIRDPARTY.json

- name: Build target
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target ${{ matrix.target }}

- name: Upload Release Build Artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
Loading