Skip to content

Commit

Permalink
linux actions
Browse files Browse the repository at this point in the history
  • Loading branch information
maniospas committed Nov 1, 2024
1 parent 034c1ae commit 2cec623
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
- os: windows-latest
triplet: x64-windows
build-script: .\vcpkg\bootstrap-vcpkg.bat
cmake-generator: "Visual Studio 16 2019"
cmake-arch: x64
cmake-command: |
cmake -B ./build
cmake -G "${{ matrix.cmake-generator }}" -A ${{ matrix.cmake-arch }} -B ./build -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release
package-command: |
mkdir release
Expand All @@ -33,7 +35,7 @@ jobs:
triplet: x64-linux
build-script: ./vcpkg/bootstrap-vcpkg.sh
cmake-command: |
cmake -B ./build
cmake -B ./build -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release
package-command: |
mkdir release
Expand Down Expand Up @@ -61,6 +63,11 @@ jobs:
run: |
${{ matrix.cmake-command }}
- name: List build directory (Debugging)
run: |
dir build
dir build\Release
- name: Package executable
run: |
${{ matrix.package-command }}
Expand Down

0 comments on commit 2cec623

Please sign in to comment.