-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 1.06 KB
/
Copy pathbitstream-tester.yml
File metadata and controls
45 lines (37 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Build Bitstream Tester (Windows)
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v5
- name: Set up MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: >-
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-rust
mingw-w64-x86_64-ffmpeg
mingw-w64-x86_64-clang
- name: Build
env:
BINDGEN_EXTRA_CLANG_ARGS: "-target x86_64-pc-windows-gnu"
working-directory: scratch_bitstream_windows
run: cargo build --release
- name: Package
run: |
mkdir release
cp scratch_bitstream_windows/target/release/scratch_bitstream_windows.exe release/bitstream-tester.exe
- name: Upload Artifact
uses: actions/upload-artifact@v5
with:
name: bitstream-tester-windows
path: release/bitstream-tester.exe