]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
fix dep
authorqydysky <qydysky@foxmail.com>
Tue, 20 Oct 2020 01:13:11 +0000 (09:13 +0800)
committerqydysky <qydysky@foxmail.com>
Tue, 20 Oct 2020 01:13:11 +0000 (09:13 +0800)
.github/workflows/go.yml
VERSION

index f83dbcdd6ce1d03362dad0575b37cea61bdb16b1..8818a0304fc8f354d4d797c139568fd9f5492fa1 100644 (file)
@@ -47,7 +47,7 @@ jobs:
     - name: Build
       run: |
         sudo apt-get install libgtk-3-dev libcairo2-dev libglib2.0-dev
-        go build -v -buildmode=exe -o demo/demo.run -i demo/main.go
+        go build -v -o demo/demo.run -i demo/main.go
       
     - name: zip
       run: zip -q -r release_ubuntu.zip *
@@ -92,7 +92,11 @@ jobs:
         msystem: MINGW64
         path-type: inherit
         update: true
-        install: 'mingw-w64-x86_64-gtk3 mingw-w64-x86_64-gtk2 mingw-w64-x86_64-toolchain base-devel'
+        install: 'mingw-w64-x86_64-gtk3 mingw-w64-x86_64-gtk2'
+
+    - name: Setup up C
+      run: |
+        echo "::add-path::C:\msys64\mingw64\bin"
 
     - name: Check out code
       uses: actions/checkout@v2
@@ -102,7 +106,7 @@ jobs:
         export CGO_LDFLAGS_ALLOW="-Wl.*"
         export CGO_CFLAGS_ALLOW="-Wl.*"
         export CGO_CXXFLAGS_ALLOW="-Wl.*"
-        go build -v -o demo/demo.exe -i demo/main.go
+        go build -v -buildmode=exe -o demo/demo.exe -i demo/main.go
 
     - name: zip
       run: .\7za.exe a -r .\release_windows.zip ./
diff --git a/VERSION b/VERSION
index 4a6190d14085b53a33b8df30e8bb70363f1fbf7f..f0546a40394fb7238a7e784f43207a4a0fffca5a 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-202010200848
\ No newline at end of file
+202010200913
\ No newline at end of file