mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: install dependencies for package tests
This commit is contained in:
parent
eb20dd39b1
commit
a7054b68fd
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -69,7 +69,7 @@ jobs:
|
||||
# run: ./v -o hi.js examples/hello_v_js.v && node hi.js
|
||||
- name: Build Vorum
|
||||
run: git clone --depth 1 https://github.com/vlang/vorum && cd vorum && ../v . && cd ..
|
||||
- name: Bare metal
|
||||
- name: Freestanding
|
||||
run: ./v -freestanding -o bare vlib/os/bare/bare_example_linux.v
|
||||
- name: x64 machine code generation
|
||||
run: cd examples/x64 && ../../v -x64 hello_world.v && ./hello_world
|
||||
@ -78,6 +78,8 @@ jobs:
|
||||
ubuntu-prebuilt:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get update; sudo apt-get install --quiet -y postgresql libpq-dev libglfw3 libglfw3-dev libfreetype6-dev libssl-dev sqlite3 libsqlite3-dev
|
||||
- name: Download V
|
||||
run: wget https://github.com/vlang/v/releases/latest/download/v_linux.zip && unzip v_linux.zip && ./v --version
|
||||
- name: Test V
|
||||
@ -86,7 +88,12 @@ jobs:
|
||||
|
||||
macos-prebuilt:
|
||||
runs-on: macOS-10.14
|
||||
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
brew install freetype glfw openssl
|
||||
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
|
||||
- name: Download V
|
||||
run: wget https://github.com/vlang/v/releases/latest/download/v_macos.zip && unzip v_macos.zip && ./v --version
|
||||
- name: Test V
|
||||
|
Loading…
Reference in New Issue
Block a user