Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cmake-multi-platform-make-release.yml #29

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/cmake-multi-platform-make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ jobs:

- name: Create Linux Build Output Directory
if: matrix.ox == 'Linux'
run: mkdir ./${{ runner.os }}_build

- name: Create Windows Build Output Directory
if: matrix.ox == 'Windows'
run: mkdir .\${{ runner.os }}_build
run: mkdir ./project_build

- name: Install development libraries (Ubuntu/Debian)
if: matrix.os == 'ubuntu-latest'
Expand All @@ -77,7 +73,7 @@ jobs:
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DCMAKE_INSTALL_PREFIX=./${{ runner.os }}_build
-DCMAKE_INSTALL_PREFIX=./project_build
-S ${{ github.workspace }}

- name: Configure CMake (on Windows)
Expand All @@ -89,7 +85,7 @@ jobs:
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DCMAKE_INSTALL_PREFIX=.\${{ runner.os }}_build
-DCMAKE_INSTALL_PREFIX=./${{ runner.os }}_build
-S ${{ github.workspace }}

- name: Build (Linux)
Expand All @@ -106,13 +102,13 @@ jobs:
if: runner.os == 'Windows'
with:
name: ${{ runner.os }}_build # Name for the artifact cache
path: .\${{ runner.os }}_build # Path containing built artifacts
path: ./project_build # Path containing built artifacts

- uses: actions/upload-artifact@v3 # Upload build artifacts
if: runner.os == 'Linux'
with:
name: ${{ runner.os }}_build # Name for the artifact cache
path: ./${{ runner.os }}_build # Path containing built artifacts
path: ./project_build # Path containing built artifacts

# - name: Create Release # Create the release on GitHub
# id: create_release
Expand Down
Loading