Disable a github CI/CD job to prevent failure due to it taking too long #93
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |