Skip to content

Commit

Permalink
WIP: adapt windows workflow to build project
Browse files Browse the repository at this point in the history
  • Loading branch information
marcothaller committed Nov 8, 2024
1 parent 59270cd commit abdbdc3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
SLINT_VERSION: 1.8.0

steps:
# - name: Checkout sources
# uses: actions/checkout@v4
- name: Checkout sources
uses: actions/checkout@v4

# - name: Install ninja-build tool
# uses: turtlesec-no/get-ninja@main
- name: Install ninja-build tool
uses: turtlesec-no/get-ninja@main

# - name: Make sure MSVC is found when Ninja generator is in use
# uses: ilammy/msvc-dev-cmd@v1
- name: Make sure MSVC is found when Ninja generator is in use
uses: ilammy/msvc-dev-cmd@v1

- name: Download Mosquitto Installer
run: |
Expand All @@ -58,12 +58,12 @@ jobs:
& "C:\Program Files\mosquitto\mosquitto.exe" -h
shell: pwsh

# - name: Download Slint (Windows)
# run: |
# curl --no-progress-meter --location --remote-name `
# https://github.com/slint-ui/slint/releases/download/v$env:SLINT_VERSION/Slint-cpp-$env:SLINT_VERSION-win64.exe
# & .\Slint-cpp-$env:SLINT_VERSION-win64.exe /S /D=c:\slint
# Write-Output "SLINT_INSTALL_LOCATION=c:\slint" >> $env:GITHUB_ENV
- name: Download Slint (Windows)
run: |
curl --no-progress-meter --location --remote-name `
https://github.com/slint-ui/slint/releases/download/v$env:SLINT_VERSION/Slint-cpp-$env:SLINT_VERSION-win64.exe
& .\Slint-cpp-$env:SLINT_VERSION-win64.exe /S /D=c:\slint
Write-Output "SLINT_INSTALL_LOCATION=c:\slint" >> $env:GITHUB_ENV
# Tests build only on Linux right now
# - name: Configure project
Expand All @@ -73,8 +73,8 @@ jobs:
# -DBUILD_TESTS=${{ matrix.os == 'Linux' && matrix.build_type == 'Debug'}}
# -DCMAKE_PREFIX_PATH=${{ env.SLINT_INSTALL_LOCATION }}

# - name: Build Project
# run: cmake --build ./build
- name: Build Project
run: cmake --build ./build

# Tests turned off due to linker errors on Windows
# - name: Run tests on Windows/macOS
Expand Down

0 comments on commit abdbdc3

Please sign in to comment.