Skip to content

Commit

Permalink
Beta21 (#21)
Browse files Browse the repository at this point in the history
* beta1

* beta2

* beta3

* beta4

* beta5

* beta6

* beta7

* beta8

* beta9

* beta10

* beta11

* beta12

* beta13

* beta14

* beta15

* beta16

* beta16

* beta19

* beta20

* beta21
  • Loading branch information
Hoshinonyaruko authored Jan 21, 2024
1 parent 910583f commit 5bac3d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/cross_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,51 +48,6 @@ jobs:
fi
shell: bash

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: gensokyo-hunyuan-${{ matrix.os }}-${{ matrix.goarch }}
path: output/gensokyo-hunyuan-${{ matrix.os }}-${{ matrix.goarch }}${{ endsWith(matrix.os, 'windows') && '.exe' || '' }}
build-darwin:
name: Build on ${{ matrix.os }} for ${{ matrix.goarch }}
runs-on: macos-latest
strategy:
matrix:
include:
- os: darwin
goarch: amd64

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21.1' # Set to specific Go version.

- name: Install build dependencies (macOS)
if: matrix.os == 'darwin'
run: |
brew update
brew install sqlite3
- name: Create output directory
run: mkdir -p output

- name: Compile Go for target
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 1
run: |
if [ "$GOOS" = "windows" ]; then
go build -o output/gensokyo-hunyuan-${{ matrix.os }}-${{ matrix.goarch }}.exe
else
go build -o output/gensokyo-hunyuan-${{ matrix.os }}-${{ matrix.goarch }}
fi
shell: bash

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ _✨ 基于tencentcloud/hunyuan 的一键混元api连接器 ✨_
## 兼容性
可在各种架构运行
(原生android暂不支持,sqlitev3需要cgo)
由于cgo编译比较复杂,arm平台,或者其他架构,可试图在对应系统架构下,自行本地编译



Expand Down

0 comments on commit 5bac3d7

Please sign in to comment.