Add CLR callable runtime support #14
Workflow file for this run
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: 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 |