File tree Expand file tree Collapse file tree 2 files changed +6
-21
lines changed
Expand file tree Collapse file tree 2 files changed +6
-21
lines changed Original file line number Diff line number Diff line change 25252626 with :
2727 submodules : recursive
28-
29- # - run: choco uninstall mingw -y --force
30- # - run: choco install mingw -y --x86 --force
31-
32- # - name: Install libusb using Vcpkg
33- # run: |
34- # cd vcpkg
35- # bootstrap-vcpkg.bat
36- # vcpkg install libusb:x86-windows
37- # cd..
38- # copy D:\\a\\txlogger\\txlogger\\vcpkg\\installed\\x86-windows\\bin\libusb-1.0.dll .\
3928
4029 - name : Set up Go
4130 uses : actions/setup-go@v6
@@ -45,20 +34,14 @@ jobs:
4534 - name : Install dependencies
4635 run : |
4736 go get .
48- go install fyne.io/fyne/v2/ cmd/fyne@develop
37+ go install fyne.io/tools/ cmd/fyne@latest
4938 .\setup_build_env.ps1
5039
5140 - name : Build
5241 env :
53- # PKG_CONFIG_PATH: "D:\\a\\txlogger\\txlogger\\vcpkg\\packages\\libusb_x86-windows\\lib\\pkgconfig"
54- # CGO_CFLAGS: "-ID:\\a\\txlogger\\txlogger\\vcpkg\\packages\\libusb_x86-windows\\include\\libusb-1.0"
55- GOARCH : amd64 # 386
56- GOOS : windows
57- CGO_ENABLED : 1
58- # CC: i686-w64-mingw32-gcc
59- # CXX: i686-w64-mingw32-g++
42+ FOO : " BAR"
6043 run : |
61- fyne package --release
44+ .\build.ps1 -txlogger
6245 # run: |
6346 # Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
6447 # $Env:PATH += ";C:\ProgramData\mingw64\mingw32\bin"
Original file line number Diff line number Diff line change @@ -35,10 +35,12 @@ if ($release) {
3535$env: CGO_ENABLED = " 1"
3636$env: GOGC = " 100"
3737$env: CC = " clang.exe"
38- $env: CXX = " clang.exe"
38+ $env: CXX = " clang++ .exe"
3939
4040$current_path = Get-Location
4141
42+ $env: PATH += ' ;$current_path\llvm-mingw\bin'
43+
4244if ($cangateway ) {
4345 Write-Output " Building cangateway.exe"
4446 $includes = @ (
You can’t perform that action at this time.
0 commit comments