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:
|
with:
|
||||||
flutter-version: 3.41.5
|
flutter-version: 3.41.5
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v6
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
cd gomuks/pkg/ffi
|
cd gomuks/pkg/ffi
|
||||||
go build -tags goolm -o ../../../libgomuks.dll -buildmode=c-shared
|
go build -tags goolm -o ../../../libgomuks.dll -buildmode=c-shared
|
||||||
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@v6
|
|
||||||
|
|
||||||
- name: Build with Flutter
|
- name: Build with Flutter
|
||||||
run: |
|
run: |
|
||||||
flutter pub get
|
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
|
// goheif/dav1d supported on Android would need to fix upstream
|
||||||
final tags = targetOS == OS.android ? "goolm,noheic" : "goolm";
|
final tags = targetOS == OS.android ? "goolm,noheic" : "goolm";
|
||||||
throw "dir is: ${gomuksBuildDir.resolve("pkg/ffi/").toFilePath()}";
|
|
||||||
print(
|
print(
|
||||||
"Building Gomuks shared library $libFileName (${targetOS.name}/${targetArch.name}) to ${libFile.path}...",
|
"Building Gomuks shared library $libFileName (${targetOS.name}/${targetArch.name}) to ${libFile.path}...",
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue