Skip to content

Add GitHub Actions (#88) #48

Add GitHub Actions (#88)

Add GitHub Actions (#88) #48

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