Disable windows builds due to actions only using ancient mingw #18
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
name: C/C++ CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
linux-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compiler version | |
run: gcc --version | |
- name: make tests | |
run: make tests | |
- name: Test C | |
run: ./test_c | |
- name: Test C++ | |
run: ./test_cpp | |
- name: Migrate binaries | |
run: 7z a linux-binaries.7z *.{a,so} | |
- uses: actions/upload-artifact@v3 | |
name: upload binaries | |
with: | |
name: Linux Binaries | |
path: linux-binaries.7z | |
windows-build: | |
runs-on: windows-latest | |
if: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: egor-tensin/setup-mingw@v2 | |
with: | |
platform: x64 | |
- name: Compiler version | |
run: gcc --version | |
- name: make tests | |
run: make tests | |
- name: Test C | |
run: test_c.exe | |
- name: Test C++ | |
run: test_cpp.exe | |
- name: Migrate binaries | |
run: 7z a windows-binaries.7z *.a *.dll | |
- uses: actions/upload-artifact@v3 | |
name: upload binaries | |
with: | |
name: Windows Binaries | |
path: windows-binaries.7z | |