Skip to content

deps

deps #42

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build Windows Release
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
os: [windows-latest]
include:
- os: windows-latest
vcpkgCommitId: '74e6536215718009aae747d86d84b78376bf9e09'
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25.3'
cache: false
- name: Install dependencies
run: |
go get .
go install fyne.io/fyne/v2/cmd/fyne@develop
- name: Install dependencies
run: |
go get .
go install fyne.io/tools/cmd/fyne@latest
.\setup_build_env.ps1
- name: Build
env:
FOO: "BAR"
run: |
$env:PATH += ";D:\a\txlogger\txlogger\llvm-mingw\bin"
$env:PATH
.\build.ps1 -cangateway -txlogger
- name: Creating Zip
if: startsWith(github.ref, 'refs/tags/')
run: 7z a txlogger.zip txlogger.exe cangateway.exe .\debug.bat C:\Progra~2\Kvaser\Canlib\Bin\canlib32.dll .\vcpkg\packages\libusb_x64-windows\bin\libusb-1.0.dll .\canusb\dll64\canusbdrv64.dll libusb-1.0.dll
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
env:
GITHUB_REPOSITORY: roffe/txlogger
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
txlogger.zip