|
8 | 8 | jobs: |
9 | 9 | linux: |
10 | 10 | name: Linux |
11 | | - runs-on: ubuntu-18.04 |
| 11 | + runs-on: ubuntu-20.04 |
12 | 12 | env: |
13 | 13 | INSTALL_PREFIX: "/opt/smelibs" |
14 | 14 | SUDO_CMD: "sudo" |
|
24 | 24 | - name: Add llvm repo for clang 14 & install |
25 | 25 | run: | |
26 | 26 | sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - |
27 | | - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-14 main" |
| 27 | + sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" |
28 | 28 | sudo apt update -yy |
29 | 29 | sudo apt install -yy clang-14 |
30 | 30 | - name: Set clang version |
|
86 | 86 | with: |
87 | 87 | path: ./artefacts/* |
88 | 88 |
|
89 | | - win32-mingw: |
90 | | - name: Windows 32-bit Mingw |
91 | | - runs-on: windows-2022 |
92 | | - env: |
93 | | - INSTALL_PREFIX: "/c/smelibs" |
94 | | - SUDO_CMD: "" |
95 | | - TARGET_TRIPLE: "x86_64-w32-windows-gnu" |
96 | | - PYTHON_EXE: "/mingw32/bin/python" |
97 | | - OS: "win32-mingw" |
98 | | - defaults: |
99 | | - run: |
100 | | - shell: msys2 {0} |
101 | | - steps: |
102 | | - - uses: actions/checkout@v3 |
103 | | - - uses: msys2/setup-msys2@v2 |
104 | | - with: |
105 | | - msystem: MINGW32 |
106 | | - update: true |
107 | | - install: mingw-w64-i686-gcc mingw-w64-i686-cmake mingw-w64-i686-python make |
108 | | - - name: Build script |
109 | | - run: ./build.sh |
110 | | - - uses: actions/upload-artifact@v3 |
111 | | - with: |
112 | | - path: ./artefacts/* |
113 | | - |
114 | | - win64-msvc: |
115 | | - name: Windows 64-bit MSVC |
116 | | - runs-on: windows-2022 |
117 | | - env: |
118 | | - INSTALL_PREFIX: 'C:\smelibs' |
119 | | - TARGET_TRIPLE: "x86_64-pc-windows-gnu" |
120 | | - OS: "win64-msvc" |
121 | | - steps: |
122 | | - - uses: actions/checkout@v3 |
123 | | - - uses: ilammy/msvc-dev-cmd@v1 |
124 | | - with: |
125 | | - arch: amd64 |
126 | | - toolset: 14.0 |
127 | | - - name: Build script |
128 | | - run: ./build.ps1 |
129 | | - - uses: actions/upload-artifact@v3 |
130 | | - with: |
131 | | - path: ./artefacts/* |
132 | | - |
133 | | - win32-msvc: |
134 | | - name: Windows 32-bit MSVC |
135 | | - runs-on: windows-2022 |
136 | | - env: |
137 | | - INSTALL_PREFIX: 'C:\smelibs' |
138 | | - TARGET_TRIPLE: "i686-pc-windows-gnu" |
139 | | - OS: "win32-msvc" |
140 | | - steps: |
141 | | - - uses: actions/checkout@v3 |
142 | | - - uses: ilammy/msvc-dev-cmd@v1 |
143 | | - with: |
144 | | - arch: amd64_x86 |
145 | | - toolset: 14.0 |
146 | | - - name: Build script |
147 | | - run: ./build.ps1 |
148 | | - - uses: actions/upload-artifact@v3 |
149 | | - with: |
150 | | - path: ./artefacts/* |
151 | | - |
152 | 89 | release: |
153 | 90 | name: Upload Binaries to GitHub Release |
154 | | - needs: [linux, macos, win64-mingw, win32-mingw, win64-msvc, win32-msvc] |
| 91 | + needs: [linux, macos, win64-mingw] |
155 | 92 | runs-on: ubuntu-latest |
156 | 93 | # upload binaries to github release if commit is tagged |
157 | 94 | if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') |
|
0 commit comments