mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-12-03 02:58:27 +00:00
ci: devcontainerをサポート
This commit is contained in:
13
.github/workflows/swift-in-devcontainer.yml
vendored
13
.github/workflows/swift-in-devcontainer.yml
vendored
@@ -14,10 +14,19 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Download pre-built llama.cpp binaries
|
||||
run: |
|
||||
wget -O llama-cpp-bin.zip "https://github.com/fkunn1326/llama.cpp/releases/download/b4846/llama-b4846-bin-ubuntu-x64.zip"
|
||||
unzip llama-cpp-bin.zip -d llama-cpp-bin
|
||||
|
||||
- name: Copy llama.cpp binaries
|
||||
run: cp llama-cpp-bin/build/bin/lib*.so ./
|
||||
|
||||
- name: Build and Test in DevContainer
|
||||
uses: devcontainers/ci@v0.3
|
||||
with:
|
||||
push: never
|
||||
runCmd: |
|
||||
swift build -Xswiftc -strict-concurrency=complete -v
|
||||
swift test -c release -Xswiftc -strict-concurrency=complete -v
|
||||
swift build -c release -Xswiftc -strict-concurrency=complete -Xlinker -L./ -v
|
||||
cp llama-cpp-bin/build/bin/lib*.so .build/*/release/
|
||||
swift test -c release -Xswiftc -strict-concurrency=complete -Xlinker -L./ -v
|
||||
|
||||
Reference in New Issue
Block a user