diff options
| author | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-26 20:48:43 -0600 |
|---|---|---|
| committer | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-28 11:05:42 -0600 |
| commit | 2e66e802a17741aa701b067a5210b46bf65f40ba (patch) | |
| tree | ed95d01d94e3a3fcef5612bbf28a986722a84b4c /.github | |
| parent | 9b36fb8bdaf95baaa3dc2d5b799852384bdb53ad (diff) | |
Try using proper cmake steps
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c2f0d90..9522024f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,14 +41,21 @@ jobs: arch: win64_msvc2019_64 cached: ${{steps.cache-qt.outputs.cache-hit}} - - name: Install compiler - uses: ilammy/msvc-dev-cmd@v1 - - - name: cmake - run: | - mkdir build && cd build - cmake .. - make + - name: Create Build Environment + run: cmake -E make_directory ${{github.workspace}}/build + + - name: Configure CMake + shell: bash + env: + CC: gcc-10 + CXX: g++-10 + working-directory: ${{github.workspace}}/build + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE + + - name: Build + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --build . --config $BUILD_TYPE --target Attorney_Online - name: Upload Artifact uses: actions/upload-artifact@v2 |
