From 8b1074d3128d6497f52304b9102c763120c054b6 Mon Sep 17 00:00:00 2001 From: greg Date: Sun, 7 Nov 2021 11:02:53 -0500 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f97c07a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: phmap CI + +on: + push: + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + configs: [Release, Debug] + steps: + - name: Checkout + uses: actions/checkout@v2.0.0 + - name: Build and test + mkdir build && cd build && cmake -DPHMAP_BUILD_TESTS=ON -DPHMAP_BUILD_EXAMPLES=ON -DCMAKE_CXX_COMPILER=${COMPILER} -DCXXFLAGS="${CXX_FLAGS}" .. && cmake --build . && make test +