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
12 changes: 11 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Rust

on:
pull_request:
workflow_dispatch:
push:
branches:
- 'master'
Expand Down Expand Up @@ -65,34 +66,39 @@ jobs:
target: arm-unknown-linux-gnueabihf
os: ubuntu-latest
features:
rust_flags: -L target/arm-unknown-linux-gnueabihf/release
bits: 32bit

- label: Linux armv7 Hardware Float
target: armv7-unknown-linux-gnueabihf
os: ubuntu-latest
features:
rust_flags: -L target/armv7-unknown-linux-gnueabihf/release
bits: 32bit

- label: Linux aarch64
target: aarch64-unknown-linux-gnu
os: ubuntu-latest
rust_flags: -L target/aarch64-unknown-linux-gnu/release
features: auto-splitting

- label: Linux i686
target: i686-unknown-linux-gnu
os: ubuntu-latest
features:
rust_flags: -L target/i686-unknown-linux-gnu/release
bits: 32bit

- label: Linux x86_64
target: x86_64-unknown-linux-gnu
os: ubuntu-latest
rust_flags: -L target/x86_64-unknown-linux-gnu/release
features: auto-splitting

- label: Linux x86_64-v3
target: x86_64-unknown-linux-gnu
target_rename: x86_64_v3-unknown-linux-gnu
rust_flags: -C target-cpu=x86-64-v3
rust_flags: -L target/x86_64-unknown-linux-gnu/release -C target-cpu=x86-64-v3
os: ubuntu-latest
features: auto-splitting

Expand Down Expand Up @@ -150,6 +156,10 @@ jobs:
cd ~/.cargo/bin
tar -xzf cross-x86_64-unknown-linux-gnu.tar.gz

- name: Install OBS Stub (linux)
if: contains(matrix.os, 'ubuntu')
run: cross build --target=${{ matrix.target }} -p obs --release

- name: Build Shared Library
shell: bash
run: .github/workflows/build_shared.sh
Expand Down
Loading
Loading