Skip to content

Compile with extra flags on Windows #47

Compile with extra flags on Windows

Compile with extra flags on Windows #47

Workflow file for this run

on:
push:
jobs:
test-liunux:
strategy:
matrix:
cc: [gcc-10, gcc-11, gcc-12, gcc-13, clang-13, clang-14, clang-15]
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: test
run: make CC=${{ matrix.cc }}
test-macos:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: test
run: make
test-windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup cl
uses: ilammy/msvc-dev-cmd@v1
- name: Compile stresstest
run: cl /Zi /DDSET_SORT_EXTRA stresstest.c
- shell: bash
run: ls
- shell: bash
name: stresstest
run: ./stresstest.exe