File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,25 @@ jobs:
1919 os : macos-latest
2020 runtime : osx-arm64
2121 - name : Linux
22- os : ubuntu-20.04
22+ os : ubuntu-latest
2323 runtime : linux-x64
24+ container : ubuntu:20.04
2425 - name : Linux (arm64)
25- os : ubuntu-20.04
26+ os : ubuntu-latest
2627 runtime : linux-arm64
28+ container : ubuntu:20.04
2729 name : Build ${{ matrix.name }}
2830 runs-on : ${{ matrix.os }}
31+ container : ${{ matrix.container || '' }}
2932 steps :
33+ - name : Install common CLI tools
34+ if : ${{ startsWith(matrix.runtime, 'linux-') }}
35+ run : |
36+ export DEBIAN_FRONTEND=noninteractive
37+ ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
38+ apt-get update
39+ apt-get install -y sudo
40+ sudo apt-get install -y curl wget git unzip zip libicu66 tzdata clang
3041 - name : Checkout sources
3142 uses : actions/checkout@v4
3243 - name : Setup .NET
4758 if : ${{ matrix.runtime == 'linux-arm64' }}
4859 run : |
4960 sudo apt-get update
50- sudo apt-get install clang llvm gcc-aarch64-linux-gnu zlib1g-dev:arm64
61+ sudo apt-get install -y llvm gcc-aarch64-linux-gnu zlib1g-dev:arm64
5162 - name : Build
5263 run : dotnet build -c Release
5364 - name : Publish
You can’t perform that action at this time.
0 commit comments