Skip to content

Commit 05c8f20

Browse files
authored
Merge pull request #23 from AsakusaRinne/doc_ci
Temporarily disable build ci.
2 parents ee6bccc + b9cec01 commit 05c8f20

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

.github/workflows/main.yml

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
1-
name: CI
2-
on:
3-
push:
4-
branches: [master]
5-
pull_request:
6-
branches: [master]
7-
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref }}
9-
cancel-in-progress: true
1+
# name: CI
2+
# on:
3+
# push:
4+
# branches: [master]
5+
# pull_request:
6+
# branches: [master]
7+
# concurrency:
8+
# group: ${{ github.workflow }}-${{ github.ref }}
9+
# cancel-in-progress: true
1010

11-
jobs:
12-
build:
13-
name: Test
14-
runs-on: ${{ matrix.os }}
15-
strategy:
16-
max-parallel: 2
17-
fail-fast: false
18-
matrix:
19-
build: [linux-release, windows-release, osx-release]
20-
include:
21-
- build: linux-release
22-
os: ubuntu-latest
23-
config: release
24-
- build: osx-release
25-
os: macos-latest
26-
config: release
27-
- build: windows-release
28-
os: windows-2019
29-
config: release
30-
steps:
31-
- uses: actions/checkout@v4
32-
- uses: actions/setup-dotnet@v4
33-
with:
34-
dotnet-version: |
35-
7.0.x
36-
8.0.x
37-
- name: Cache Packages
38-
uses: actions/cache@v4
39-
with:
40-
key: "unit_test_models"
41-
path: LLama.Unittest/Models
42-
# workaround for actions/setup-dotnet#155
43-
- name: Clear package cache
44-
run: dotnet clean LLamaSharp.sln && dotnet nuget locals all --clear
45-
- name: Restore packages
46-
run: dotnet restore LLamaSharp.sln
47-
- name: Build
48-
run: dotnet build LLamaSharp.sln -c ${{ matrix.config }} --no-restore
49-
- name: Test
50-
run: dotnet test LLamaSharp.sln -c ${{ matrix.config }} -l "console;verbosity=detailed" --diag:logs/log.txt
51-
- name: Upload artifacts
52-
if: always()
53-
uses: actions/upload-artifact@v3
54-
with:
55-
path: logs/
56-
name: logs
11+
# jobs:
12+
# build:
13+
# name: Test
14+
# runs-on: ${{ matrix.os }}
15+
# strategy:
16+
# max-parallel: 2
17+
# fail-fast: false
18+
# matrix:
19+
# build: [linux-release, windows-release, osx-release]
20+
# include:
21+
# - build: linux-release
22+
# os: ubuntu-latest
23+
# config: release
24+
# - build: osx-release
25+
# os: macos-latest
26+
# config: release
27+
# - build: windows-release
28+
# os: windows-2019
29+
# config: release
30+
# steps:
31+
# - uses: actions/checkout@v4
32+
# - uses: actions/setup-dotnet@v4
33+
# with:
34+
# dotnet-version: |
35+
# 7.0.x
36+
# 8.0.x
37+
# - name: Cache Packages
38+
# uses: actions/cache@v4
39+
# with:
40+
# key: "unit_test_models"
41+
# path: LLama.Unittest/Models
42+
# # workaround for actions/setup-dotnet#155
43+
# - name: Clear package cache
44+
# run: dotnet clean LLamaSharp.sln && dotnet nuget locals all --clear
45+
# - name: Restore packages
46+
# run: dotnet restore LLamaSharp.sln
47+
# - name: Build
48+
# run: dotnet build LLamaSharp.sln -c ${{ matrix.config }} --no-restore
49+
# - name: Test
50+
# run: dotnet test LLamaSharp.sln -c ${{ matrix.config }} -l "console;verbosity=detailed" --diag:logs/log.txt
51+
# - name: Upload artifacts
52+
# if: always()
53+
# uses: actions/upload-artifact@v3
54+
# with:
55+
# path: logs/
56+
# name: logs

0 commit comments

Comments
 (0)