Skip to content

Commit c3137e3

Browse files
authored
Add ninja-build installation to runtime build steps
Updated Docker run commands to install ninja-build before building libraries.
1 parent 5f8e665 commit c3137e3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/illumos-x64-runtime-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
2929
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
30-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos \
30+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
3131
/runtime/build.sh clr+libs+packs -c Debug -os illumos -cross -gcc --bootstrap
3232
3333
coreclr_Release:
@@ -40,8 +40,8 @@ jobs:
4040
run: |
4141
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
4242
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
43-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos \
44-
/runtime/build.sh clr+libs+packs -c Release -os illumos -cross -gcc --bootstrap
43+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
44+
/runtime/build.sh clr+libs+packs -c Release -os illumos -cross -gcc --bootstrap'
4545
4646
mono_Debug:
4747
runs-on: ubuntu-latest
@@ -53,8 +53,8 @@ jobs:
5353
run: |
5454
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
5555
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
56-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos \
57-
/runtime/build.sh mono+libs+packs -c Debug -os illumos -cross -gcc
56+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
57+
/runtime/build.sh mono+libs+packs -c Debug -os illumos -cross -gcc'
5858
5959
mono_Release:
6060
runs-on: ubuntu-latest
@@ -66,5 +66,5 @@ jobs:
6666
run: |
6767
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
6868
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
69-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos \
70-
/runtime/build.sh mono+libs+packs -c Release -os illumos -cross -gcc
69+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
70+
/runtime/build.sh mono+libs+packs -c Release -os illumos -cross -gcc'

0 commit comments

Comments
 (0)