Skip to content

Add Pelles-C compilation to CI on GitHub Actions #13

Add Pelles-C compilation to CI on GitHub Actions

Add Pelles-C compilation to CI on GitHub Actions #13

Workflow file for this run

on:
push:
branches-ignore:
- 'ci/**'
- '!ci/gha**'
- 'dependabot/**'
pull_request:
branches:
- 'master'
jobs:
pelles:
runs-on: windows-latest
strategy:
matrix:
version:
- "12.0.2"
# - "11.0.2"
# - "10.0.6"
# - "9.00.0.0"
# - "8.00.0.0"
steps:
- uses: actions/checkout@v2
- name: Install Pelles
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install pelles-c --version "${{ matrix.version }}" --limit-output
- name: Install Make
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install make --limit-output
- name: Compile
env:
CC: 'C:\Program Files\PellesC\bin\pocc.exe'
LINK: 'C:\Program Files\PellesC\bin\polink.exe'
working-directory: test
run: C:\ProgramData\chocolatey\lib\make\tools\install\bin\make.exe -f Makefile.pelles