mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
ci: test the new prebuilt packages
This commit is contained in:
parent
71378b8041
commit
1bfcdaa2cc
3 changed files with 39 additions and 30 deletions
27
.github/workflows/ci.yml
vendored
27
.github/workflows/ci.yml
vendored
|
@ -2,14 +2,14 @@ name: CI
|
|||
on: [push, pull_request]
|
||||
jobs:
|
||||
|
||||
build-alpine-docker-musl-gcc:
|
||||
alpine-docker-musl-gcc:
|
||||
name: Alpine/musl
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
|
||||
- name: Build V
|
||||
uses: spytheman/docker_alpine_v@v5.0
|
||||
with:
|
||||
|
@ -20,7 +20,7 @@ jobs:
|
|||
with:
|
||||
entrypoint: .github/workflows/alpine.test.sh
|
||||
|
||||
build-osx:
|
||||
macos:
|
||||
runs-on: macOS-10.14
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -46,7 +46,7 @@ jobs:
|
|||
git clone --depth 1 https://github.com/vlang/vid.git
|
||||
cd vid && ../v -o vid .
|
||||
|
||||
build-ubuntu:
|
||||
ubuntu:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -68,7 +68,16 @@ jobs:
|
|||
- name: x64 machine code generation
|
||||
run: cd examples/x64 && ../../v -x64 hello_world.v && ./hello_world
|
||||
|
||||
build-ubuntu-tcc:
|
||||
ubuntu-prebuilt:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Download V
|
||||
run: wget https://github.com/vbinaries/vbinaries/releases/download/latest/v_linux.zip
|
||||
&& unzip v_linux.zip && ./v --version
|
||||
|
||||
|
||||
ubuntu-tcc:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -85,7 +94,7 @@ jobs:
|
|||
./v -o v2 v.v # Make sure vtcc can build itself
|
||||
./v test v
|
||||
|
||||
build-ubuntu-musl:
|
||||
ubuntu-musl:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -101,7 +110,7 @@ jobs:
|
|||
# - name: Test v->js
|
||||
# run: ./v -o hi.js examples/hello_v_js.v && node hi.js
|
||||
|
||||
build-windows-gcc:
|
||||
windows-gcc:
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -120,7 +129,7 @@ jobs:
|
|||
#.\v.exe -o hi.js examples/hello_v_js.v
|
||||
#node hi.js
|
||||
|
||||
build-windows-msvc:
|
||||
windows-msvc:
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue