Skip to content

Fix release solution path #16

Fix release solution path

Fix release solution path #16

Workflow file for this run

name: IronRust CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
dotnet:
name: .NET build and tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: IronRust
- uses: actions/checkout@v4
with:
repository: rustscript-lang/rustscript
path: rustscript
- uses: actions/checkout@v4
with:
repository: rustscript-lang/pd-edge
path: pd-edge
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Build native compiler
working-directory: IronRust
run: cargo build --locked --release --manifest-path native/pd-vm-compiler/Cargo.toml
- name: Restore
working-directory: IronRust
run: dotnet restore IronRust.sln
- name: Build
working-directory: IronRust
run: dotnet build IronRust.sln --no-restore --configuration Release
- name: Tests
working-directory: IronRust
env:
PDVM_NATIVE_COMPILER: ${{ github.workspace }}/IronRust/native/pd-vm-compiler/target/release/libpd_vm_compiler.so
run: dotnet test IronRust.sln --no-build --configuration Release --verbosity normal