Skip to content

Commit 03b0749

Browse files
PunitLodhaPunitLodha
andauthored
Update release flow (#1403)
* Update CHANGES.TXT * Update release flow Co-authored-by: PunitLodha <[email protected]>
1 parent 7bcdd67 commit 03b0749

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,25 @@ jobs:
1717
shell: bash
1818
- name: Setup MSBuild.exe
1919
uses: microsoft/[email protected]
20-
- name: build Release
21-
run: msbuild ccextractor.sln /p:Configuration=Release-Full
20+
- name: Install llvm and clang
21+
uses: egor-tensin/setup-clang@v1
22+
with:
23+
version: latest
24+
platform: x86
25+
- uses: actions-rs/toolchain@v1
26+
with:
27+
toolchain: stable
28+
override: true
29+
target: i686-pc-windows-msvc
30+
- name: Install Win 10 SDK
31+
uses: ilammy/msvc-dev-cmd@v1
32+
- name: build Release-Full
33+
env:
34+
LIBCLANG_PATH: "C:\\Program Files\\LLVM\\lib"
35+
LLVM_CONFIG_PATH: "C:\\Program Files\\LLVM\\bin\\llvm-config"
36+
CARGO_TARGET_DIR: "..\\..\\windows"
37+
BINDGEN_EXTRA_CLANG_ARGS: -fmsc-version=0
38+
run: msbuild ccextractor.sln /p:Configuration=Release-Full /p:Platform=Win32
2239
working-directory: ./windows
2340
- name: Copy files to directory for installer
2441
run: mkdir installer; cp ./Release-Full/ccextractorwinfull.exe ./installer; cp ./Release-Full/*.dll ./installer

0 commit comments

Comments
 (0)