-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (26 loc) · 778 Bytes
/
Copy pathlinux.yml
File metadata and controls
29 lines (26 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build Linux Develop
on:
push:
branches:
- 'master'
- 'develop'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Set up Go
uses: actions/setup-go@v6.4.0
with:
go-version: '1.26.3'
cache: false
- name: Get dependencies
run: sudo apt-get update && sudo apt-get install 7zip gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev libusb-1.0-0-dev libgtk-3-dev libasound2-dev libftdi1 libftdi1-dev
- name: Get Go dependencies
run: go get .
- name: Build CanGateway
run: GOPATH=$PWD/go go install -tags="j2534" github.com/roffe/gocangateway@latest
- name: Build txlogger
run: make txlogger