-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (43 loc) · 1.27 KB
/
windows_tk8.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
48
49
50
51
52
53
name: windows with TclTk 8
on: [push]
jobs:
build_package:
name: Build TkGL extension for Tcl 8 on Windows
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup msys
uses: msys2/setup-msys2@v2
- name: Init MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Download Tcl and Tk source code with bash
run: ci/windows/fetch_tcltk8.sh
shell: bash
- name: Build Tcl 8
run: |
nmake -f makefile.vc
nmake INSTALLDIR=..\..\TclTk8 -f makefile.vc install
working-directory: tcl8/win
shell: cmd
- name: Build Tk 8
run: |
nmake TCLDIR=..\..\tcl8 -f makefile.vc
nmake INSTALLDIR=..\..\TclTk8 -f makefile.vc install
working-directory: tk8/win
shell: cmd
- name: Build TkGL for Tcl/Tk 8
run: |
nmake TCLDIR=..\tcl8 TKDIR=..\tk8 -f makefile.vc
shell: cmd
working-directory: win
- name: Assemble the package
run: |
mkdir -p dist/TkGL1.2
cp win/Release*/*.* dist/TkGL1.2
shell: bash
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: TkGL_pkg_windows_tk8
path: ./dist