This commit is contained in:
		
							parent
							
								
									31fe824a8b
								
							
						
					
					
						commit
						edd65b7f92
					
				
					 4 changed files with 5 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: elerch/setup-zig@v3 | ||||
|         with: | ||||
|           version: 0.12.0 | ||||
|           version: 0.13.0 | ||||
|       - uses: elerch/zig-action-cache@v1.1.6 | ||||
|       - name: Build project | ||||
|         run: zig build --summary all | ||||
|  |  | |||
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -1,2 +1,3 @@ | |||
| zig-cache | ||||
| zig-out | ||||
| .zig-cache | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ RUN apt-get update \ | |||
|          ca-certificates \ | ||||
|          curl \ | ||||
|          xz-utils \ | ||||
|     && curl https://ziglang.org/download/0.12.0/zig-linux-x86_64-0.12.0.tar.xz | tar -C /usr/local/ -xJ \ | ||||
|     && curl https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | tar -C /usr/local/ -xJ \ | ||||
|     && apt-get -y remove curl xz-utils  \ | ||||
|     && ln -s /usr/local/zig*/zig /usr/local/bin \ | ||||
|     && rm -rf /var/lib/apt/lists/* | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ pub fn build(b: *std.Build) void { | |||
|         .name = "fontfinder", | ||||
|         // In this case the main source file is merely a path, however, in more | ||||
|         // complicated build scripts, this could be a generated file. | ||||
|         .root_source_file = .{ .path = "src/main.zig" }, | ||||
|         .root_source_file = b.path("src/main.zig"), | ||||
|         .target = target, | ||||
|         .optimize = optimize, | ||||
|     }); | ||||
|  | @ -59,7 +59,7 @@ pub fn build(b: *std.Build) void { | |||
|     // Creates a step for unit testing. This only builds the test executable | ||||
|     // but does not run it. | ||||
|     const unit_tests = b.addTest(.{ | ||||
|         .root_source_file = .{ .path = "src/main.zig" }, | ||||
|         .root_source_file = b.path("src/main.zig"), | ||||
|         .target = target, | ||||
|         .optimize = optimize, | ||||
|     }); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue