Skip to content

Commit 55ac25d

Browse files
committed
ci: add new workflow
1 parent 3472f36 commit 55ac25d

File tree

1 file changed

+106
-0
lines changed

1 file changed

+106
-0
lines changed

.github/workflows/ci-build.yml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: CI-Build
2+
run-name: CI build
3+
4+
on:
5+
pull_request:
6+
branches: '*'
7+
paths:
8+
- '**'
9+
- '!.github/**'
10+
- '!README.md'
11+
push:
12+
branches:
13+
- master
14+
paths:
15+
- '**'
16+
- '!.github/**'
17+
- '!README.md'
18+
workflow_dispatch:
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
24+
25+
jobs:
26+
Linux-1:
27+
strategy:
28+
matrix:
29+
ver:
30+
- id: 'gcc'
31+
title: GCC (Linux)
32+
runs-on: ubuntu-latest
33+
name: ${{matrix.ver.title}}
34+
35+
steps:
36+
- name: checkout
37+
uses: actions/checkout@v4
38+
- name: install perl module
39+
run: sudo cpan -i Font::TTF::Font Sort::Versions
40+
shell: bash
41+
- name: autogen
42+
run: |
43+
./autogen.sh
44+
shell: bash
45+
- name: configure
46+
run: |
47+
./configure
48+
shell: bash
49+
- name: build
50+
run: |
51+
make all
52+
shell: bash
53+
Windows-1:
54+
strategy:
55+
matrix:
56+
ver:
57+
- id: '1.9'
58+
- id: '2.0'
59+
os:
60+
- id: 'dos'
61+
title: 'DOS'
62+
- id: 'os2'
63+
title: 'OS/2'
64+
- id: 'win32'
65+
title: 'WIN32'
66+
- id: 'linux386'
67+
title: 'Linux'
68+
runs-on: 'windows-latest'
69+
name: Open Watcom ${{matrix.ver.id}} (${{matrix.os.title}})
70+
71+
steps:
72+
- name: checkout
73+
uses: actions/checkout@v4
74+
- name: Open Watcom setup
75+
uses: open-watcom/setup-watcom@v0
76+
with:
77+
version: ${{matrix.ver.id}}
78+
- name: build
79+
run: |
80+
wmake /f Mkfiles\openwcom.mak ${{matrix.os.id}}
81+
shell: cmd
82+
Windows-2:
83+
strategy:
84+
matrix:
85+
image:
86+
- version: 2022
87+
osname: windows-2022
88+
vs: 2022
89+
- version: 2025
90+
osname: windows-2025
91+
vs: 2022
92+
runs-on: ${{matrix.image.osname}}
93+
name: Visual Studio ${{matrix.image.vs}} (WIN64)
94+
95+
steps:
96+
- name: checkout
97+
uses: actions/checkout@v4
98+
- name: Enable Developer Command Prompt
99+
uses: ilammy/msvc-dev-cmd@v1
100+
with:
101+
vsversion: ${{matrix.image.vs}}
102+
arch: amd64
103+
- name: build
104+
run: |
105+
nmake /f Mkfiles\msvc.mak all
106+
shell: cmd

0 commit comments

Comments
 (0)