-
Notifications
You must be signed in to change notification settings - Fork 28
47 lines (41 loc) · 1.04 KB
/
test.yml
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
46
47
name: Test
on: workflow_dispatch
env:
MAJOR: 0
MINOR: 4
MAN: 0
YEAR: 2023
LUA_V: 5.4.6
MESA_V: 23.1.1
GLEW_V: 2.2.0
SDL_V: 2.26.5
HARFBUZZ_V: 8.2.0
jobs:
win:
runs-on: windows-latest
steps:
- uses: microsoft/[email protected]
- uses: actions/checkout@v3
- name: download harfbuzz
uses: suisei-cn/[email protected]
with:
url: "https://github.com/harfbuzz/harfbuzz/archive/refs/tags/${{ env.HARFBUZZ_V }}.zip"
target: ./harfbuzz.zip
- name: Unzip harfbuzz
shell: cmd
run: |
7z x -y harfbuzz.zip
ls
- name: compile harfbuzz as static lib
run: |
cd harfbuzz-${{ env.HARFBUZZ_V }}\src
gcc -c harfbuzz.cc -o harf.o -DHB_TINY
ar -rcs libharfbuzz.a harf.o
- name: copy harfbuzz static lib
run: cp ./harfbuzz-${{ env.HARFBUZZ_V }}/src/libharfbuzz.a ./
- name: Upload the result
uses: actions/upload-artifact@v3
with:
name: uploads
path: libharfbuzz.a
retention-days: 5