From cf86373c43767baf78ffc06ededd7b30cd1df4a3 Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Tue, 15 Sep 2020 20:58:25 +0300 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7bca49..7be7670 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,12 @@ jobs: os: [windows-latest, macos-10.15, ubuntu-18.04] steps: + - name: configure + run: | + if [ "$RUNNER_OS" == "Linux" ]; then + export CXX=g++-9 + fi + shell: bash - uses: actions/checkout@v2 - name: Build run: cmake -S. -Bbin && cmake --build bin --config $BUILD_TYPE