Skip to content

Fix aarch64 osx

Fix aarch64 osx #2

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release --target x86_64-unknown-linux-gnu
- name: Run tests
run: cargo test --verbose --release --target x86_64-unknown-linux-gnu
- name: upload
uses: actions/[email protected]
with:
name: cljindent-x86_64-unknown-linux-gnu
path: target/x86_64-unknown-linux-gnu/release/cljindent
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release --target x86_64-pc-windows-msvc
- name: Run tests
run: cargo test --verbose --release --target x86_64-pc-windows-msvc
- name: upload
uses: actions/[email protected]
with:
name: cljindent-x86_64-pc-windows-msvc
path: target/x86_64-pc-windows-msvc/release/cljindent
build-macos-x86:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release --target x86_64-apple-darwin
- name: Run tests
run: cargo test --verbose --release --target x86_64-apple-darwin
- name: upload
uses: actions/[email protected]
with:
name: cljindent-x86_64-apple-darwin
path: target/x86_64-apple-darwin/release/cljindent
build-macos-aarch64:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: install compiler
run: rustup target add aarch64-apple-darwin
- name: Build
run: cargo build --verbose --release --target aarch64-apple-darwin
- name: Run tests
run: cargo test --verbose --release --target aarch64-apple-darwin
- name: upload
uses: actions/[email protected]
with:
name: cljindent-aarch64-apple-darwin
path: target/aarch64-apple-darwin/release/cljindent