ci: install dependencies for package tests

pull/2969/head 0.1.23.1
Alexander Medvednikov 2019-12-04 01:49:52 +03:00
parent eb20dd39b1
commit a7054b68fd
1 changed files with 8 additions and 1 deletions

View File

@ -69,7 +69,7 @@ jobs:
# run: ./v -o hi.js examples/hello_v_js.v && node hi.js # run: ./v -o hi.js examples/hello_v_js.v && node hi.js
- name: Build Vorum - name: Build Vorum
run: git clone --depth 1 https://github.com/vlang/vorum && cd vorum && ../v . && cd .. 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 run: ./v -freestanding -o bare vlib/os/bare/bare_example_linux.v
- name: x64 machine code generation - name: x64 machine code generation
run: cd examples/x64 && ../../v -x64 hello_world.v && ./hello_world run: cd examples/x64 && ../../v -x64 hello_world.v && ./hello_world
@ -78,6 +78,8 @@ jobs:
ubuntu-prebuilt: ubuntu-prebuilt:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: 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 - name: Download V
run: wget https://github.com/vlang/v/releases/latest/download/v_linux.zip && unzip v_linux.zip && ./v --version run: wget https://github.com/vlang/v/releases/latest/download/v_linux.zip && unzip v_linux.zip && ./v --version
- name: Test V - name: Test V
@ -86,7 +88,12 @@ jobs:
macos-prebuilt: macos-prebuilt:
runs-on: macOS-10.14 runs-on: macOS-10.14
steps: steps:
- name: Install dependencies
run: |
brew install freetype glfw openssl
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
- name: Download V - name: Download V
run: wget https://github.com/vlang/v/releases/latest/download/v_macos.zip && unzip v_macos.zip && ./v --version run: wget https://github.com/vlang/v/releases/latest/download/v_macos.zip && unzip v_macos.zip && ./v --version
- name: Test V - name: Test V