Skip to content

[release/1.0] Fix error: implicit declaration of function ‘memcpy’ #52

[release/1.0] Fix error: implicit declaration of function ‘memcpy’

[release/1.0] Fix error: implicit declaration of function ‘memcpy’ #52

Workflow file for this run

name: CI
on:
push:
branches: [ main, release/1.0 ]
pull_request:
branches: [ main, release/1.0 ]
jobs:
build:
name: Btrfs CI
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
# Needed by project-checks
go-version: 1.23.x
id: go
- name: Setup environment
shell: bash
run: |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Check out code
uses: actions/checkout@v3
with:
path: src/github.com/containerd/btrfs
fetch-depth: 25
- name: Project checks
uses: containerd/project-checks@v1
with:
working-directory: src/github.com/containerd/btrfs
- name: Build
working-directory: src/github.com/containerd/btrfs
run: |
sudo apt-get update && sudo apt-get install -y libbtrfs-dev
make vet binaries