Skip to content

freebsd-x64 dotnet-runtime build #6

freebsd-x64 dotnet-runtime build

freebsd-x64 dotnet-runtime build #6

name: freebsd-x64 dotnet-runtime build
on:
workflow_dispatch:
jobs:
coreclr_Debug:
runs-on: ubuntu-latest
steps:
- name: Remove unnecessary files
run: df -h; sudo rm -rf "$AGENT_TOOLSDIRECTORY"; df -h
- name: runtime+libs+packs build
run: |
git clone https://github.com/dotnet/runtime --single-branch --depth 1
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-amd64-freebsd-14 \
sh -c '/runtime/build.sh clr+libs+packs -c Debug -os freebsd -cross && cd /runtime &&
tdnf install -y file &&
find artifacts/bin -name ilc -exec file {} \;
find artifacts/bin -name crossgen2 -exec file {} \;'
# ./dotnet.sh build -v:diag -c Debug -p:TargetOS=freebsd -p:CrossBuild=true src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj'