Update dockerfile and circle

This commit is contained in:
vcaesar 2022-01-05 02:18:26 -04:00
parent 7685ce8a3b
commit ec4d4dd0d8
2 changed files with 5 additions and 11 deletions

View File

@ -16,17 +16,14 @@ jobs:
libx11-dev xorg-dev libxtst-dev
xsel xclip
# libpng++-dev
# xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
# libxkbcommon-dev
# xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev
- run: apt -y install xvfb
#
# override:
# './...' is a relative pattern which means all subdirectories
# - run: go get -u github.com/go-vgo/robotgo
# - run: go get -u golang.org/x/sys/unix
# - run: go get -u github.com/shirou/gopsutil
- run: go get -v -t -d ./...
- run: xvfb-run go test -v ./...
#
# codecov.io
# - run: xvfb-run go test -v -covermode=count -coverprofile=coverage.out
# - run: bash <(curl -s https://codecov.io/bash)

View File

@ -5,18 +5,15 @@ FROM golang:1.17.5-stretch AS build
RUN apt update && apt install -y --no-install-recommends \
# customize dependencies
libx11-dev xorg-dev \
# libgtkglextmm-x11-dev
# libghc6-x11-dev
# libgl1-mesa-swx11-dev
# xorg-dev
libxtst-dev libpng++-dev \
libxtst-dev \
# Bitmap
libpng++-dev \
# Event:
xcb libxcb-xkb-dev \
x11-xkb-utils libx11-xcb-dev \
libxkbcommon-x11-dev libxkbcommon-dev \
# Clipboard:
xsel xclip && \
# RUN apt install -y xclip
#
apt remove --purge --auto-remove && \
apt clean && \