Skip to content

Commit a77fa91

Browse files
committed
Yes another attempt to build it all
1 parent 42235b2 commit a77fa91

4 files changed

Lines changed: 38 additions & 8 deletions

File tree

.github/workflows/linux.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
on:
22
release:
33
types: [created]
4+
5+
env:
6+
PYTHON_VERSION: '3.12'
7+
48
jobs:
59
build:
610
runs-on: ubuntu-24.04
@@ -12,10 +16,10 @@ jobs:
1216
with:
1317
node-version: "24.x"
1418

15-
- name: Set up Python
19+
- name: Set up Python ${{ env.PYTHON_VERSION }}
1620
uses: actions/setup-python@v5
1721
with:
18-
python-version: 3.13
22+
python-version: ${{ env.PYTHON_VERSION }}
1923

2024
- name: Ubuntu dependencies
2125
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev
@@ -24,6 +28,9 @@ jobs:
2428
with:
2529
ref: ${{ github.ref }}
2630

31+
- name: Environment Information
32+
run: npx envinfo
33+
2734
- name: Build Qode binary
2835
run: node ./qode/build.js
2936
env:

.github/workflows/mac.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
on:
22
release:
33
types: [created]
4+
5+
env:
6+
PYTHON_VERSION: '3.12'
7+
XCODE_VERSION: '16.1'
8+
49
jobs:
510
build:
611
runs-on: macos-14
@@ -11,14 +16,22 @@ jobs:
1116
- uses: actions/setup-node@master
1217
with:
1318
node-version: '24.x'
14-
- name: Set up Python
19+
20+
- name: Set up Python ${{ env.PYTHON_VERSION }}
1521
uses: actions/setup-python@v5
1622
with:
17-
python-version: 3.13
23+
python-version: ${{ env.PYTHON_VERSION }}
24+
1825
- uses: actions/checkout@v5
1926
with:
2027
ref: ${{ github.ref }}
2128

29+
- name: Set up Xcode ${{ env.XCODE_VERSION }}
30+
run: sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app
31+
32+
- name: Environment Information
33+
run: npx envinfo
34+
2235
- name: Build Qode binary
2336
run: node ./qode/build.js
2437
env:

.github/workflows/windows.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,41 @@
11
on:
22
release:
33
types: [created]
4+
5+
env:
6+
PYTHON_VERSION: '3.12'
7+
48
jobs:
59
build:
6-
runs-on: windows-2022
10+
runs-on: windows-2025
711
strategy:
812
matrix:
913
arch: ['x64']
1014
steps:
1115
- uses: actions/setup-node@master
1216
with:
1317
node-version: "24.x"
14-
- name: Set up Python
18+
19+
- name: Set up Python ${{ env.PYTHON_VERSION }}
1520
uses: actions/setup-python@v5
1621
with:
17-
python-version: 3.13
22+
python-version: ${{ env.PYTHON_VERSION }}
23+
1824
- name: "Setup NASM for windows"
1925
uses: ilammy/setup-nasm@v1
2026

2127
- uses: actions/checkout@v5
2228
with:
2329
ref: ${{ github.ref }}
2430

31+
- name: Environment Information
32+
run: npx envinfo
33+
2534
- name: Build Qode binary
2635
run: node ./qode/build.js
2736
env:
2837
TARGET_ARCH: ${{ matrix.arch }}
38+
2939
- name: Compress files
3040
uses: a7ul/tar-action@v1.0.2
3141
id: compress

qode/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function compileMac() {
9999
}
100100

101101
function compileWin() {
102-
execSync(`.\\vcbuild release small-icu ${target_arch}`, {
102+
execSync(`.\\vcbuild release small-icu`, {
103103
cwd: path.resolve(__dirname, '..'),
104104
});
105105

0 commit comments

Comments
 (0)