Skip to content

CI build

CI build #48

Workflow file for this run

name: CI-Build
run-name: CI build
on:
pull_request:
branches: '*'
paths:
- '**'
- '!.github/**'
- '!README.md'
push:
branches:
- master
paths:
- '**'
- '!.github/**'
- '!README.md'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
OpenWatcom-1:
strategy:
matrix:
ver:
- id: '1.9'
- id: '2.0'
targ:
- id: 'dos'
title: 'DOS'
- id: 'os2'
title: 'OS/2'
- id: 'win32'
title: 'WIN32'
- id: 'linux386'
title: 'Linux'
host:
- id: 'Linux'
image: 'ubuntu-latest'
- id: 'Windows'
image: 'windows-latest'
runs-on: ${{matrix.host.image}}
name: ${{matrix.targ.title}} - Open Watcom ${{matrix.ver.id}} (${{matrix.host.id}} host)
steps:
- name: checkout
uses: actions/checkout@v4
- name: Open Watcom setup
uses: open-watcom/setup-watcom@v0
with:
version: ${{matrix.ver.id}}
- name: build
run: |
wmake -f Mkfiles/openwcom.mak ${{matrix.targ.id}}
Linux-1:
strategy:
matrix:
ver:
- id: 'gcc'
title: Linux - GCC (Linux host)
runs-on: ubuntu-latest
name: ${{matrix.ver.title}}
steps:
- name: checkout
uses: actions/checkout@v4
- name: install perl module
run: sudo cpan -i Font::TTF::Font Sort::Versions
shell: bash
- name: autogen
run: |
./autogen.sh
shell: bash
- name: configure
run: |
./configure
shell: bash
- name: build
run: |
make all
shell: bash
Windows-1:
strategy:
matrix:
image:
- version: 2022
osname: windows-2022
vs: 2022
- version: 2025
osname: windows-2025
vs: 2022
runs-on: ${{matrix.image.osname}}
name: WIN64 - Visual Studio ${{matrix.image.vs}} (Windows ${{matrix.image.version}} host)
steps:
- name: checkout
uses: actions/checkout@v4
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
with:
vsversion: ${{matrix.image.vs}}
arch: amd64
- name: build
run: |
nmake /f Mkfiles\msvc.mak all
shell: cmd