set up go earlier

This commit is contained in:
Henry Hiles 2026-03-27 22:35:29 -04:00
commit c6767863eb
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 3 additions and 4 deletions

View file

@ -21,14 +21,14 @@ jobs:
with:
flutter-version: 3.41.5
- name: Set up Go
uses: actions/setup-go@v6
- name: test
run: |
cd gomuks/pkg/ffi
go build -tags goolm -o ../../../libgomuks.dll -buildmode=c-shared
- name: Set up Go
uses: actions/setup-go@v6
- name: Build with Flutter
run: |
flutter pub get

View file

@ -56,7 +56,6 @@ Future<void> main(List<String> args) => build(args, (input, output) async {
// goheif/dav1d supported on Android would need to fix upstream
final tags = targetOS == OS.android ? "goolm,noheic" : "goolm";
throw "dir is: ${gomuksBuildDir.resolve("pkg/ffi/").toFilePath()}";
print(
"Building Gomuks shared library $libFileName (${targetOS.name}/${targetArch.name}) to ${libFile.path}...",
);