Skip to content

Disable a github CI/CD job to prevent failure due to it taking too long #93

Disable a github CI/CD job to prevent failure due to it taking too long

Disable a github CI/CD job to prevent failure due to it taking too long #93

Workflow file for this run

name: MacOS
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-latest
steps:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/checkout@v3
- name: Build (debug)
run: RUST_BACKTRACE=full RUST_LOG=debug cargo build --verbose
- name: Run tests (debug)
run: RUST_BACKTRACE=full RUST_LOG=debug cargo test --verbose
- name: Build (release)
run: RUST_BACKTRACE=full RUST_LOG=debug cargo build --verbose --release
- name: Run tests (release)
run: RUST_BACKTRACE=full RUST_LOG=debug cargo test --verbose --release
- name: Install Nix
uses: cachix/install-nix-action@v31
- name: Build with Nix
run: sudo nix --extra-experimental-features 'nix-command flakes' build