Skip to content

set workdir

set workdir #5

Workflow file for this run

name: "Build"
on:
pull_request:
push:
env:
CARGO_TERM_COLOR: always
jobs:
nix-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix build
cargo-build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- "x86_64-pc-windows-gnu"
- "x86_64-unknown-linux-gnu"
toolchain:
- "stable"
- "beta"
- "nightly"
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup target add ${{ matrix.target }}
- run: cargo build --verbose
working-directory: ./nobody