Skip to content

Commit

Permalink
feat: vlang (#26)
Browse files Browse the repository at this point in the history
* feat: vlang

* ci: prod build
  • Loading branch information
Fyko authored Aug 13, 2023
1 parent a2a28d2 commit 74fbe03
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,33 @@ jobs:
swift/swiftCore.dll
swift/info.txt
build_v:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install V
uses: vlang/setup-v@v1
with:
check-latest: true
- name: Build
shell: pwsh
run: |
cd v
v -prod ./hello.v
v --version
$info = @(
"LANGUAGE=V"
"COMPILER=$(v --version)"
)
$info | Out-File -FilePath info.txt -Encoding ascii
- name: Upload
uses: actions/upload-artifact@v3
with:
name: v
path: |
v/hello.exe
v/info.txt
build_zig:
runs-on: windows-latest
steps:
Expand All @@ -459,7 +486,7 @@ jobs:
zig/info.txt
summarize:
needs: [build_asm, build_c, build_cpp, build_crystal, build_csharp, build_d, build_dart, build_fsharp, build_go, build_haskell, build_java, build_kotlin, build_nim, build_rust, build_scala, build_swift, build_zig]
needs: [build_asm, build_c, build_cpp, build_crystal, build_csharp, build_d, build_dart, build_fsharp, build_go, build_haskell, build_java, build_kotlin, build_nim, build_rust, build_scala, build_swift, build_v, build_zig]
runs-on: windows-latest
steps:
- name: Download all artifacts
Expand Down
1 change: 1 addition & 0 deletions v/hello.v
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
println('Hello, World!')

0 comments on commit 74fbe03

Please sign in to comment.