Skip to content

Commit

Permalink
release #6
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Nov 28, 2024
1 parent 3a2f1b4 commit d2d45f2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ jobs:
include:
- os: ubuntu-latest
artifact_extension: tar.gz
shell: bash
- os: macos-latest
artifact_extension: zip
shell: bash
- os: windows-latest
artifact_extension: zip
shell: pwsh

steps:
- name: Checkout code
Expand All @@ -45,7 +48,6 @@ jobs:
- name: Install dependencies (Windows)
if: matrix.os == 'windows-latest'
shell: powershell
run: |
choco install qt --version=6.5.3 -y
choco install ninja -y
Expand All @@ -58,12 +60,12 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-G "Ninja" \
-S "${{ github.workspace }}"
shell: ${{ matrix.os == 'windows-latest' && 'pwsh' || 'bash' }}
shell: ${{ matrix.shell }}

# Build Application
- name: Build application
run: cmake --build "${{ github.workspace }}/build" --config Release
shell: ${{ matrix.os == 'windows-latest' && 'pwsh' || 'bash' }}
shell: ${{ matrix.shell }}

# Package Application
- name: Package application (Ubuntu)
Expand All @@ -88,7 +90,6 @@ jobs:
run: |
cd "${{ github.workspace }}/build"
Compress-Archive -Path . -DestinationPath application.zip
shell: pwsh
# Upload Artifacts
- name: Upload artifact
Expand Down

0 comments on commit d2d45f2

Please sign in to comment.