Skip to content

Minor wording/formatting fixes #3011

Minor wording/formatting fixes

Minor wording/formatting fixes #3011

Workflow file for this run

# Only trigger when a PR is committed.
name: Linux Build All Arches
#on: [pull_request]
on:
pull_request:
types: [closed]
branches:
- master
jobs:
build:
if: github.event.pull_request.merged
name: Build
# We used to build on ubuntu-18.04 but that is now deprecated by
# GitHub. Earlier distributions will have to use the musl build.
runs-on: ubuntu-22.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: '^1.23'
# Caching seems to really slow down the build due to the time
# taken to save the cache.
cache: false
- run: go version
- name: Get dependencies
run: |
go get -v -t -d ./...
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mingw-w64-x86-64-dev gcc-mingw-w64-x86-64 gcc-mingw-w64
- name: Use Node.js
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
with:
node-version: 20
- name: npm install gui
run: |
cd gui/velociraptor/
npm install
npm run build
cd ../../
- name: Build All Architectures
# Uncomment the architectures you want here. NOTE: DarwinBase
# does not include yara or modules with C compilers needed.
run: |
mkdir ./output/
export PATH=$PATH:~/go/bin/
go run make.go -v UpdateDependentTools
go run make.go -v DarwinBase
go run make.go -v Windows
go run make.go -v Windowsx86
- name: StoreBinaries
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
with:
name: Binaries
path: output