Skip to content

Commit 0e91b46

Browse files
committed
CI: updated actions
1 parent ed6952f commit 0e91b46

File tree

1 file changed

+102
-102
lines changed

1 file changed

+102
-102
lines changed

.github/workflows/main.yml

Lines changed: 102 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,102 @@
1-
name: 'Rebol-MathPresso CI'
2-
on:
3-
# Triggers the workflow on push or pull request events but only for the main branch
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
8-
9-
# Allows you to run this workflow manually from the Actions tab
10-
workflow_dispatch:
11-
12-
jobs:
13-
windows:
14-
runs-on: windows-latest
15-
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v3
18-
19-
- name: Install Siskin Builder
20-
uses: oldes/[email protected]
21-
22-
- name: Build 32bit MathPresso static library
23-
run: ./siskin Rebol-MathPresso.nest static-lib-x86
24-
25-
- name: Build 32bit Rebol/MathPresso extension
26-
run: ./siskin Rebol-MathPresso.nest --msvc -o mathpresso-windows-x86.rebx mathpresso-windows-x86
27-
28-
- name: Build 64bit MathPresso static library
29-
run: ./siskin Rebol-MathPresso.nest static-lib-x64
30-
31-
- name: Build 64bit Rebol/MathPresso extension
32-
run: ./siskin Rebol-MathPresso.nest --msvc -o mathpresso-windows-x64.rebx mathpresso-windows-x64
33-
34-
- name: Install Rebol for extension test
35-
uses: oldes/install-rebol@v3.17.0
36-
37-
- name: Minimal Rebol/MathPresso extension test
38-
run: ./rebol3 ci-test.r3
39-
40-
- uses: actions/upload-artifact@v3
41-
with:
42-
name: Rebol-MathPresso-CI-${{github.run_id}}
43-
path: ./mathpresso*.rebx
44-
45-
linux:
46-
runs-on: ubuntu-latest
47-
steps:
48-
- name: Checkout repository
49-
uses: actions/checkout@v3
50-
51-
- name: Install Siskin Builder
52-
uses: oldes/[email protected]
53-
54-
- name: Build 64bit MathPresso static library
55-
run: ./siskin Rebol-MathPresso.nest static-lib-x64
56-
57-
- name: Build 64bit Rebol/MathPresso extension
58-
run: ./siskin Rebol-MathPresso.nest -o mathpresso-linux-x64.rebx mathpresso-linux-x64
59-
60-
- name: Install Rebol for extension test
61-
uses: oldes/install-rebol@v3.17.0
62-
63-
- name: Minimal Rebol/MathPresso extension test
64-
run: ./rebol3 ci-test.r3
65-
66-
- name: Compress 64bit Rebol/MathPresso extension
67-
run: gzip -9 ./mathpresso-linux-x64.rebx
68-
69-
- uses: actions/upload-artifact@v3
70-
with:
71-
name: Rebol-MathPresso-CI-${{github.run_id}}
72-
path: ./mathpresso*.gz
73-
74-
macos:
75-
runs-on: macos-latest
76-
steps:
77-
- name: Checkout repository
78-
uses: actions/checkout@v3
79-
80-
- name: Install Siskin Builder
81-
uses: oldes/[email protected]
82-
83-
- name: Build 64bit MathPresso static library
84-
run: ./siskin Rebol-MathPresso.nest static-lib-x64
85-
86-
- name: Build 64bit Rebol/MathPresso extension
87-
run: ./siskin Rebol-MathPresso.nest -o mathpresso-macos-x64.rebx mathpresso-macos-x64
88-
89-
- name: Install Rebol for extension test
90-
uses: oldes/install-rebol@v3.17.0
91-
92-
- name: Minimal Rebol/MathPresso extension test
93-
run: ./rebol3 ci-test.r3
94-
95-
- name: Compress 64bit Rebol/MathPresso extension
96-
run: gzip -9 ./mathpresso-macos-x64.rebx
97-
98-
- uses: actions/upload-artifact@v3
99-
with:
100-
name: Rebol-MathPresso-CI-${{github.run_id}}
101-
path: ./mathpresso*.gz
102-
1+
name: 'Rebol-MathPresso CI'
2+
on:
3+
# Triggers the workflow on push or pull request events but only for the main branch
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
jobs:
13+
windows:
14+
runs-on: windows-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install Siskin Builder
20+
uses: oldes/[email protected]
21+
22+
- name: Build 32bit MathPresso static library
23+
run: ./siskin Rebol-MathPresso.nest static-lib-x86
24+
25+
- name: Build 32bit Rebol/MathPresso extension
26+
run: ./siskin Rebol-MathPresso.nest --msvc -o mathpresso-windows-x86.rebx mathpresso-windows-x86
27+
28+
- name: Build 64bit MathPresso static library
29+
run: ./siskin Rebol-MathPresso.nest static-lib-x64
30+
31+
- name: Build 64bit Rebol/MathPresso extension
32+
run: ./siskin Rebol-MathPresso.nest --msvc -o mathpresso-windows-x64.rebx mathpresso-windows-x64
33+
34+
- name: Install Rebol for extension test
35+
uses: oldes/install-rebol@v3.18.0
36+
37+
- name: Minimal Rebol/MathPresso extension test
38+
run: ./rebol3 ci-test.r3
39+
40+
- uses: actions/upload-artifact@v4
41+
with:
42+
name: Rebol-MathPresso-CI-windows-${{github.run_id}}
43+
path: ./mathpresso*.rebx
44+
45+
linux:
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Checkout repository
49+
uses: actions/checkout@v4
50+
51+
- name: Install Siskin Builder
52+
uses: oldes/[email protected]
53+
54+
- name: Build 64bit MathPresso static library
55+
run: ./siskin Rebol-MathPresso.nest static-lib-x64
56+
57+
- name: Build 64bit Rebol/MathPresso extension
58+
run: ./siskin Rebol-MathPresso.nest -o mathpresso-linux-x64.rebx mathpresso-linux-x64
59+
60+
- name: Install Rebol for extension test
61+
uses: oldes/install-rebol@v3.18.0
62+
63+
- name: Minimal Rebol/MathPresso extension test
64+
run: ./rebol3 ci-test.r3
65+
66+
- name: Compress 64bit Rebol/MathPresso extension
67+
run: gzip -9 ./mathpresso-linux-x64.rebx
68+
69+
- uses: actions/upload-artifact@v4
70+
with:
71+
name: Rebol-MathPresso-CI-linux-${{github.run_id}}
72+
path: ./mathpresso*.gz
73+
74+
macos:
75+
runs-on: macos-latest
76+
steps:
77+
- name: Checkout repository
78+
uses: actions/checkout@v4
79+
80+
- name: Install Siskin Builder
81+
uses: oldes/[email protected]
82+
83+
- name: Build 64bit MathPresso static library
84+
run: ./siskin Rebol-MathPresso.nest static-lib-x64
85+
86+
- name: Build 64bit Rebol/MathPresso extension
87+
run: ./siskin Rebol-MathPresso.nest -o mathpresso-macos-x64.rebx mathpresso-macos-x64
88+
89+
- name: Install Rebol for extension test
90+
uses: oldes/install-rebol@v3.18.0
91+
92+
- name: Minimal Rebol/MathPresso extension test
93+
run: ./rebol3 ci-test.r3
94+
95+
- name: Compress 64bit Rebol/MathPresso extension
96+
run: gzip -9 ./mathpresso-macos-x64.rebx
97+
98+
- uses: actions/upload-artifact@v4
99+
with:
100+
name: Rebol-MathPresso-CI-macos-${{github.run_id}}
101+
path: ./mathpresso*.gz
102+

0 commit comments

Comments
 (0)