mirror of https://github.com/ospab/ostp.git
CI/CD: Complete system alignment by introducing Nightly toolchain exclusively for MIPS builds and applying macOS path-prioritization patches
This commit is contained in:
parent
c8a28a75ce
commit
403405c791
|
|
@ -80,6 +80,7 @@ jobs:
|
||||||
artifact_name: ostp
|
artifact_name: ostp
|
||||||
release_name: ostp-linux-mipsle.tar.gz
|
release_name: ostp-linux-mipsle.tar.gz
|
||||||
use_cross: true
|
use_cross: true
|
||||||
|
toolchain: nightly
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: riscv64gc-unknown-linux-gnu
|
target: riscv64gc-unknown-linux-gnu
|
||||||
artifact_name: ostp
|
artifact_name: ostp
|
||||||
|
|
@ -103,11 +104,14 @@ jobs:
|
||||||
if: ${{ !matrix.use_cross }}
|
if: ${{ !matrix.use_cross }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
|
toolchain: ${{ matrix.toolchain || 'stable' }}
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Initialize Rust ecosystem (Cross Container Host)
|
- name: Initialize Rust ecosystem (Cross Container Host)
|
||||||
if: ${{ matrix.use_cross }}
|
if: ${{ matrix.use_cross }}
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
toolchain: ${{ matrix.toolchain || 'stable' }}
|
||||||
|
|
||||||
- name: Activate rust compilation caching
|
- name: Activate rust compilation caching
|
||||||
if: ${{ !matrix.use_cross }}
|
if: ${{ !matrix.use_cross }}
|
||||||
|
|
@ -117,10 +121,17 @@ jobs:
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' && !matrix.use_cross }}
|
if: ${{ matrix.os == 'ubuntu-latest' && !matrix.use_cross }}
|
||||||
run: sudo apt-get update && sudo apt-get install -y musl-tools
|
run: sudo apt-get update && sudo apt-get install -y musl-tools
|
||||||
|
|
||||||
- name: Execute Standard Native Compilation
|
- name: Execute Standard Native Compilation (Windows)
|
||||||
if: ${{ !matrix.use_cross }}
|
if: ${{ !matrix.use_cross && matrix.os == 'windows-latest' }}
|
||||||
run: cargo build --release --target ${{ matrix.target }} --bin ostp
|
run: cargo build --release --target ${{ matrix.target }} --bin ostp
|
||||||
|
|
||||||
|
- name: Execute Standard Native Compilation (Unix)
|
||||||
|
if: ${{ !matrix.use_cross && matrix.os != 'windows-latest' }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"
|
||||||
|
cargo build --release --target ${{ matrix.target }} --bin ostp
|
||||||
|
|
||||||
- name: Execute Specialized Cross-Compilation
|
- name: Execute Specialized Cross-Compilation
|
||||||
if: ${{ matrix.use_cross }}
|
if: ${{ matrix.use_cross }}
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue