Skip to content

feat: [close #103] Stage sources per module #328

feat: [close #103] Stage sources per module

feat: [close #103] Stage sources per module #328

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Install Build Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libbtrfs-dev libdevmapper-dev pkg-config build-essential
- name: Build vib
run: |
go get ./...
make build
- name: Build plugins
run: |
go get ./...
make build-plugins
tar cvf plugins.tar.xz build/plugins
- uses: actions/upload-artifact@v4
with:
name: Vib
path: |
build/vib
plugins.tar.xz