From 5bcc26d15e33c2f41621754cf73ad0388a210ead Mon Sep 17 00:00:00 2001 From: Mike Long Date: Wed, 3 Aug 2022 18:58:24 +0100 Subject: [PATCH] Try github actions on windows, mac and ubuntu --- .github/workflows/build.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..b546402 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,28 @@ +name: Checks + +on: + pull_request: + branches: + - master + +jobs: + windows: + name: run on windows + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: ilammy/msvc-dev-cmd@v1.4.1 + - name: compile + run: | + dir /s /b /o:gn + mac-and-ubuntu: + runs-on: ${{matrix.os}} + strategy: + matrix: + os: [macos-latest, ubuntu-latest] + name: ${{matrix.os}} + steps: + - uses: actions/checkout@v2 + - name: compile + run: | + ./buildandtest