forked from lobo/lambda-zig
		
	upgrade to zig 0.13.0
This commit is contained in:
		
							parent
							
								
									9d11086972
								
							
						
					
					
						commit
						ef5b793882
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/zig-build.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/zig-build.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -12,7 +12,7 @@ jobs: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|       - uses: elerch/setup-zig@v3 |       - uses: elerch/setup-zig@v3 | ||||||
|         with: |         with: | ||||||
|           version: 0.12.0 |           version: 0.13.0 | ||||||
|       - uses: elerch/zig-action-cache@v1.1.6 |       - uses: elerch/zig-action-cache@v1.1.6 | ||||||
|       - name: Build project |       - name: Build project | ||||||
|         run: zig build --summary all |         run: zig build --summary all | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ pub fn build(b: *std.Build) !void { | ||||||
|         .name = "lambda-zig", |         .name = "lambda-zig", | ||||||
|         // In this case the main source file is merely a path, however, in more |         // In this case the main source file is merely a path, however, in more | ||||||
|         // complicated build scripts, this could be a generated file. |         // complicated build scripts, this could be a generated file. | ||||||
|         .root_source_file = .{ .path = "src/lambda.zig" }, |         .root_source_file = b.path("src/lambda.zig"), | ||||||
|         .target = target, |         .target = target, | ||||||
|         .optimize = optimize, |         .optimize = optimize, | ||||||
|     }); |     }); | ||||||
|  | @ -38,7 +38,7 @@ pub fn build(b: *std.Build) !void { | ||||||
|     // Creates a step for unit testing. This only builds the test executable |     // Creates a step for unit testing. This only builds the test executable | ||||||
|     // but does not run it. |     // but does not run it. | ||||||
|     const main_tests = b.addTest(.{ |     const main_tests = b.addTest(.{ | ||||||
|         .root_source_file = .{ .path = "src/lambda.zig" }, |         .root_source_file = b.path("src/lambda.zig"), | ||||||
|         .target = target, |         .target = target, | ||||||
|         .optimize = optimize, |         .optimize = optimize, | ||||||
|     }); |     }); | ||||||
|  | @ -53,7 +53,7 @@ pub fn build(b: *std.Build) !void { | ||||||
| 
 | 
 | ||||||
|     const exe = b.addExecutable(.{ |     const exe = b.addExecutable(.{ | ||||||
|         .name = "custom", |         .name = "custom", | ||||||
|         .root_source_file = .{ .path = "src/sample-main.zig" }, |         .root_source_file = b.path("src/sample-main.zig"), | ||||||
|         .target = target, |         .target = target, | ||||||
|         .optimize = optimize, |         .optimize = optimize, | ||||||
|     }); |     }); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue