File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ permissions:
66on :
77 push :
88 tags :
9- - ' v*'
9+ - " v*"
10+
11+ pull_request :
12+ branches : [main]
13+ paths :
14+ - " .github/workflows/release.yml"
1015
1116jobs :
1217 package :
1621 - os : windows-2025
1722 artifact_name : clice.7z
1823 asset_name : clice-x64-windows-msvc.7z
19- toolchain : clang
24+ toolchain : clang-cl
2025
21- - os : ubuntu-22 .04
26+ - os : ubuntu-24 .04
2227 artifact_name : clice.tar.xz
2328 asset_name : clice-x86_64-linux-gnu.tar.xz
2429 toolchain : clang-20
7479 xmake config --yes --toolchain=${{ matrix.toolchain }} --sdk=/opt/homebrew/opt/llvm@20 --enable_test=n --dev=n --release=y
7580 xmake pack
7681
82+ - name : Install uv for integration tests
83+ uses : astral-sh/setup-uv@v6
84+
85+ - name : Run tests
86+ run : xmake test --verbose
87+
7788 - name : Upload binaries to release
89+ if : github.event_name == 'push'
7890 uses : svenstaro/upload-release-action@v2
7991 with :
8092 repo_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments