Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[target.aarch64-apple-darwin]
rustflags = [
"-L", "/opt/homebrew/opt/openblas/lib",
]
54 changes: 27 additions & 27 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: Rust
# name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# on:
# push:
# branches: [ "main" ]
# pull_request:
# branches: [ "main" ]

env:
CARGO_TERM_COLOR: always
# env:
# CARGO_TERM_COLOR: always

jobs:
build:
# jobs:
# build:

runs-on: ubuntu-latest
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
# steps:
# - uses: actions/checkout@v4

- name: Install Rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
# - name: Install Rust nightly toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# override: true
# profile: minimal

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev pkg-config
# - name: Install system dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y libfontconfig1-dev pkg-config

- name: Build
run: cargo build --verbose
# - name: Build
# run: cargo build --verbose

- name: Run tests
run: cargo test --verbose
# - name: Run tests
# run: cargo test --verbose
Loading