|
4 | 4 | push: |
5 | 5 | branches: |
6 | 6 | - null-safe-c-dev |
7 | | - tags: |
8 | | - - 'v*' |
9 | 7 | workflow_dispatch: |
10 | 8 |
|
11 | 9 | jobs: |
|
66 | 64 | name: clang-nullsafe-linux-x86_64 |
67 | 65 | path: install/clang-nullsafe-linux-x86_64.tar.gz |
68 | 66 |
|
69 | | - - name: Create Release |
70 | | - uses: softprops/action-gh-release@v1 |
71 | | - with: |
72 | | - files: install/clang-nullsafe-linux-x86_64.tar.gz |
73 | | - body: | |
74 | | - ## Null-Safe Clang Binary Release |
75 | | -
|
76 | | - This release contains the Null-Safe Clang compiler and clangd language server for Linux x86_64. |
77 | | -
|
78 | | - ### What's included: |
79 | | - - `clang` - The Null-Safe C compiler |
80 | | - - `clangd` - Language server for IDE integration (VSCode, vim, etc.) |
81 | | -
|
82 | | - ### Installation: |
83 | | - ```bash |
84 | | - tar -xzf clang-nullsafe-linux-x86_64.tar.gz |
85 | | - export PATH=$PWD/bin:$PATH |
86 | | - clang --version |
87 | | - ``` |
88 | | -
|
89 | | - ### Usage: |
90 | | - ```bash |
91 | | - # Compile with null-safety warnings (default) |
92 | | - clang mycode.c |
93 | | -
|
94 | | - # Promote warnings to errors |
95 | | - clang -Werror=nullability mycode.c |
96 | | -
|
97 | | - # Disable null-safety checking |
98 | | - clang -fno-strict-nullability mycode.c |
99 | | - ``` |
100 | | -
|
101 | | - See the [README](https://github.com/cs01/llvm-project/blob/null-safe-c-dev/README.md) for full documentation. |
102 | | - env: |
103 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
104 | | - |
105 | 67 | build-macos: |
106 | 68 | runs-on: macos-latest |
107 | 69 |
|
@@ -158,30 +120,6 @@ jobs: |
158 | 120 | name: clang-nullsafe-macos-universal |
159 | 121 | path: install/clang-nullsafe-macos-universal.tar.gz |
160 | 122 |
|
161 | | - - name: Create Release |
162 | | - uses: softprops/action-gh-release@v1 |
163 | | - with: |
164 | | - files: install/clang-nullsafe-macos-universal.tar.gz |
165 | | - body: | |
166 | | - ## Null-Safe Clang Binary Release (macOS) |
167 | | -
|
168 | | - This release contains the Null-Safe Clang compiler and clangd language server for macOS (Intel and Apple Silicon). |
169 | | -
|
170 | | - ### What's included: |
171 | | - - `clang` - The Null-Safe C compiler |
172 | | - - `clangd` - Language server for IDE integration (VSCode, vim, etc.) |
173 | | -
|
174 | | - ### Installation: |
175 | | - ```bash |
176 | | - tar -xzf clang-nullsafe-macos-universal.tar.gz |
177 | | - export PATH=$PWD/bin:$PATH |
178 | | - clang --version |
179 | | - ``` |
180 | | -
|
181 | | - See the [README](https://github.com/cs01/llvm-project/blob/null-safe-c-dev/README.md) for usage instructions. |
182 | | - env: |
183 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
184 | | - |
185 | 123 | build-windows: |
186 | 124 | runs-on: windows-latest |
187 | 125 |
|
@@ -237,27 +175,3 @@ jobs: |
237 | 175 | with: |
238 | 176 | name: clang-nullsafe-windows-x86_64 |
239 | 177 | path: install/clang-nullsafe-windows-x86_64.tar.gz |
240 | | - |
241 | | - - name: Create Release |
242 | | - uses: softprops/action-gh-release@v1 |
243 | | - with: |
244 | | - files: install/clang-nullsafe-windows-x86_64.tar.gz |
245 | | - body: | |
246 | | - ## Null-Safe Clang Binary Release (Windows) |
247 | | -
|
248 | | - This release contains the Null-Safe Clang compiler and clangd language server for Windows x86_64. |
249 | | -
|
250 | | - ### What's included: |
251 | | - - `clang.exe` - The Null-Safe C compiler |
252 | | - - `clangd.exe` - Language server for IDE integration (VSCode, vim, etc.) |
253 | | -
|
254 | | - ### Installation: |
255 | | - ```bash |
256 | | - tar -xzf clang-nullsafe-windows-x86_64.tar.gz |
257 | | - # Add bin/ directory to your PATH |
258 | | - clang --version |
259 | | - ``` |
260 | | -
|
261 | | - See the [README](https://github.com/cs01/llvm-project/blob/null-safe-c-dev/README.md) for usage instructions. |
262 | | - env: |
263 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments