set up go earlier
This commit is contained in:
parent
f5c277e8b0
commit
c6767863eb
2 changed files with 3 additions and 4 deletions
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}...",
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue