Skip to content

Commit 09bd453

Browse files
rzuckermactions-user
authored andcommitted
Add Zig Tests (#3223)
1 parent 84f3234 commit 09bd453

File tree

5 files changed

+19
-34
lines changed

5 files changed

+19
-34
lines changed

archive/w/wu/README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,10 @@ The following list contains all of the approved programs that are not currently
5555

5656
## Testing
5757

58-
This language currently does not feature testing. If you'd like to help in the efforts to test all of the code in this repo, consider creating a testinfo.yml file with the following information:
58+
The following list shares details about what we're using to test all Sample Programs in Wu.
5959

60-
```yml
61-
folder:
62-
extension:
63-
naming:
64-
65-
container:
66-
image:
67-
tag:
68-
cmd:
69-
```
60+
- Docker Image: rzuckerm/wu
61+
- Docker Tag: 0.1.0-1
7062

7163
See the [Glotter2 project](https://github.com/rzuckerm/glotter2) for more information on how to create a testinfo file.
7264

archive/w/wyvern/README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,10 @@ The following list contains all of the approved programs that are not currently
5555

5656
## Testing
5757

58-
This language currently does not feature testing. If you'd like to help in the efforts to test all of the code in this repo, consider creating a testinfo.yml file with the following information:
58+
The following list shares details about what we're using to test all Sample Programs in Wyvern.
5959

60-
```yml
61-
folder:
62-
extension:
63-
naming:
64-
65-
container:
66-
image:
67-
tag:
68-
cmd:
69-
```
60+
- Docker Image: rzuckerm/wyvern
61+
- Docker Tag: 20180325-1
7062

7163
See the [Glotter2 project](https://github.com/rzuckerm/glotter2) for more information on how to create a testinfo file.
7264

archive/z/zig/README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,10 @@ The following list contains all of the approved programs that are not currently
5555

5656
## Testing
5757

58-
This language currently does not feature testing. If you'd like to help in the efforts to test all of the code in this repo, consider creating a testinfo.yml file with the following information:
58+
The following list shares details about what we're using to test all Sample Programs in Zig.
5959

60-
```yml
61-
folder:
62-
extension:
63-
naming:
64-
65-
container:
66-
image:
67-
tag:
68-
cmd:
69-
```
60+
- Docker Image: ziglang/static-base
61+
- Docker Tag: llvm13-x86_64-1
7062

7163
See the [Glotter2 project](https://github.com/rzuckerm/glotter2) for more information on how to create a testinfo file.
7264

archive/z/zig/hello-world.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ const std = @import("std");
22

33
pub fn main() !void {
44
const stdout = std.io.getStdOut().writer();
5-
try stdout.print("Hello, {}!\n", .{"world"});
5+
try stdout.writeAll("Hello, World!\n");
66
}

archive/z/zig/testinfo.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
folder:
2+
extension: ".zig"
3+
naming: "hyphen"
4+
5+
container:
6+
image: "ziglang/static-base"
7+
tag: "llvm13-x86_64-1"
8+
build: "/deps/local/bin/zig build-exe {{ source.name }}{{ source.extension }}"
9+
cmd: "./{{ source.name }}"

0 commit comments

Comments
 (0)