Try using proper cmake steps

This commit is contained in:
Skye Deving 2021-01-26 20:48:43 -06:00
parent 9b36fb8bda
commit 2e66e802a1

View File

@ -41,14 +41,21 @@ jobs:
arch: win64_msvc2019_64 arch: win64_msvc2019_64
cached: ${{steps.cache-qt.outputs.cache-hit}} cached: ${{steps.cache-qt.outputs.cache-hit}}
- name: Install compiler - name: Create Build Environment
uses: ilammy/msvc-dev-cmd@v1 run: cmake -E make_directory ${{github.workspace}}/build
- name: cmake - name: Configure CMake
run: | shell: bash
mkdir build && cd build env:
cmake .. CC: gcc-10
make 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 - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2