Skip to content

Updates to VQL reference #1394

Updates to VQL reference

Updates to VQL reference #1394

Workflow file for this run

# Only trigger when a PR is committed.
name: Linux Build Musl Static
#on: [pull_request]
on:
pull_request:
types: [closed]
jobs:
build:
if: github.event.pull_request.merged
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.23'
- run: go version
- name: Get dependencies
run: |
go get -v -t -d ./...
sudo apt-get update
sudo apt-get install -y zip build-essential pkg-config libssl-dev
- name: Install Musl
run: |
wget https://musl.libc.org/releases/musl-1.2.5.tar.gz
tar -xvzf musl-1.2.5.tar.gz
cd musl-1.2.5
./configure
sudo make install
cd ..
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: npm install gui
run: |
cd gui/velociraptor/
npm install
npm run build
cd ../../
- name: Build Musl Binary
run: |
mkdir ./output/
export PATH=$PATH:~/go/bin/:/usr/local/musl/bin
go run make.go -v UpdateDependentTools
go run make.go -v LinuxMusl
go run make.go -v LinuxMuslDebug
- name: StoreBinaries
uses: actions/upload-artifact@v4
with:
name: Binaries
path: output