|
21 | 21 | - os: ubuntu-22.04 |
22 | 22 | name: Linux |
23 | 23 | nuke_invoke: ./build.sh |
24 | | - extras: | |
25 | | - # We need to adjust APT sources for multiarch. Use the ones corresponding to |
26 | | - # Ubuntu 22.04 with appropriate `arch` values. ports.ubuntu.com is required |
27 | | - # for armhf and arm64. |
28 | | - sudo tee /etc/apt/sources.list << EOF |
29 | | - deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main multiverse restricted universe |
30 | | - deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe |
31 | | - deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-security main multiverse restricted universe |
32 | | - deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-updates main multiverse restricted universe |
33 | | - deb [arch=arm64,armhf] http://ports.ubuntu.com jammy main multiverse restricted universe |
34 | | - deb [arch=arm64,armhf] http://ports.ubuntu.com jammy-backports main multiverse restricted universe |
35 | | - deb [arch=arm64,armhf] http://ports.ubuntu.com jammy-security main multiverse restricted universe |
36 | | - deb [arch=arm64,armhf] http://ports.ubuntu.com jammy-updates main multiverse restricted universe |
37 | | - deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy main multiverse restricted universe |
38 | | - deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe |
39 | | - deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-security main multiverse restricted universe |
40 | | - deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-updates main multiverse restricted universe |
41 | | - EOF |
42 | | - sudo dpkg --add-architecture arm64 |
43 | | - sudo dpkg --add-architecture armhf |
44 | | - sudo apt update |
45 | | - sudo apt install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf |
46 | | - sudo apt install -y g++-aarch64-linux-gnu g++-arm-linux-gnueabihf |
47 | | - for arch in amd64 arm64 armhf; do |
48 | | - sudo apt install -y libx11-xcb-dev:$arch |
49 | | - done |
50 | 24 | - os: windows-2022 |
51 | 25 | name: Windows |
52 | 26 | nuke_invoke: ./build.cmd |
|
83 | 57 | dotnet-version: | |
84 | 58 | 6.0.201 |
85 | 59 | 7.0.* |
| 60 | + - name: Install Zig |
| 61 | + if: ${{ matrix.env.name == 'Linux' }} |
| 62 | + uses: goto-bus-stop/setup-zig@v2 |
86 | 63 | - name: Build SwiftShader |
87 | 64 | run: ${{ matrix.env.nuke_invoke }} SwiftShader |
88 | 65 | env: |
|
0 commit comments