CI: Enable Linux/MacOS builds
This commit is contained in:
parent
f2eda96137
commit
8a3d6f2ea4
1 changed files with 37 additions and 31 deletions
68
.github/workflows/build.yml
vendored
68
.github/workflows/build.yml
vendored
|
@ -14,37 +14,43 @@ on:
|
||||||
paths: ['CMakeLists.txt', 'Makefile', '**.h', '*.c', '**.cpp']
|
paths: ['CMakeLists.txt', 'Makefile', '**.h', '*.c', '**.cpp']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# ubuntu-latest:
|
ubuntu-latest:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
#
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: Clone
|
- name: Clone
|
||||||
# uses: actions/checkout@v1
|
id: checkout
|
||||||
#
|
uses: actions/checkout@v1
|
||||||
# - name: Dependencies
|
|
||||||
# run: |
|
- name: Dependencies
|
||||||
# sudo apt-get update
|
id: depends
|
||||||
# sudo apt-get install build-essential
|
run: |
|
||||||
#
|
sudo apt-get update
|
||||||
# - name: Build
|
sudo apt-get install build-essential
|
||||||
# run: |
|
|
||||||
# make
|
- name: Build
|
||||||
#
|
id: make_build
|
||||||
# macOS-latest:
|
run: |
|
||||||
# runs-on: macOS-latest
|
make
|
||||||
#
|
|
||||||
# steps:
|
macOS-latest:
|
||||||
# - name: Clone
|
runs-on: macOS-latest
|
||||||
# uses: actions/checkout@v1
|
|
||||||
#
|
steps:
|
||||||
# - name: Dependencies
|
- name: Clone
|
||||||
# run: |
|
id: checkout
|
||||||
# brew update
|
uses: actions/checkout@v1
|
||||||
#
|
|
||||||
# - name: Build
|
- name: Dependencies
|
||||||
# run: |
|
id: depends
|
||||||
# make
|
run: |
|
||||||
#
|
brew update
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
id: make_build
|
||||||
|
run: |
|
||||||
|
make
|
||||||
|
|
||||||
windows-latest:
|
windows-latest:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue