From 5d4358030a832aac8014d14e14e220f8c538988e Mon Sep 17 00:00:00 2001 From: Carlos Gomes Martinho Date: Wed, 19 Feb 2020 17:48:36 +0100 Subject: [PATCH] ci: add mac os to github ci (#51) * ci: add mac os to ci * ci: add appveyor file --- .appveyor.yml | 10 ++++++++++ .github/workflows/main.yml | 3 +-- ports/bsd/mstimer-init.c | 3 ++- 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..b15c0f9e --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,10 @@ +configuration: Release + +image: + - Visual Studio 2019 + - Ubuntu + - macOS + +build_script: + - cmake . + - cmake --build . --config %CONFIGURATION% \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 064386a9..079a1a45 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,8 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-latest] - # os: [windows-latest, ubuntu-latest, macOS-latest] + os: [windows-latest, ubuntu-latest, macOS-latest] steps: - uses: actions/checkout@v1 diff --git a/ports/bsd/mstimer-init.c b/ports/bsd/mstimer-init.c index 93bbffc4..32559fc9 100644 --- a/ports/bsd/mstimer-init.c +++ b/ports/bsd/mstimer-init.c @@ -22,11 +22,12 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *********************************************************************/ +#include #include #include #include #include -#include "mstimer.h" +#include "bacnet/basic/sys/mstimer.h" #include #include