Skip to content

Commit

Permalink
ci: install dependencies for package tests
Browse files Browse the repository at this point in the history
  • Loading branch information
medvednikov committed Dec 3, 2019
1 parent eb20dd3 commit a7054b6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a7054b6

Please sign in to comment.