-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests for Windows, macOS, and many different compilers on Linux.
- Loading branch information
Showing
3 changed files
with
59 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters