1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

native: initial linking support for linux (#15326)

This commit is contained in:
Spydr
2022-08-08 21:32:14 +02:00
committed by GitHub
parent a6026fd505
commit 27c5ad03f6
8 changed files with 272 additions and 108 deletions

View File

@@ -40,6 +40,13 @@ jobs:
echo "C Compiler:"
gcc --version
## TODO: fix the container thevlang/vlang:alpine-build, instead of using apk add here:
- name: Add dependencies
run: |
apk add libexecinfo-static
apk add libexecinfo-dev
apk add libc6-compat
- name: Build V
run: CC=gcc make

View File

@@ -55,6 +55,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install linker
if: ${{ startsWith(matrix.os, 'ubuntu')}}
run: |
sudo apt-get install --quiet -y binutils
- name: Build V with make.bat
if: ${{ startsWith(matrix.os, 'windows') }}
run: |