Skip to content

Commit

Permalink
Fixing build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SySyAli committed Dec 23, 2023
1 parent 7aa09bb commit 16c6ad6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up CMake
uses: actions/setup-cmake@v1
with:
cmake-version: '3.26'
- name: Install CMake
run: |
$url = 'https://github.com/Kitware/CMake/releases/download/v3.26.0/cmake-3.26.0-windows-x86_64.msi'
$output = 'cmake.msi'
Invoke-WebRequest -Uri $url -OutFile $output
Start-Process msiexec.exe -Wait -ArgumentList '/i', $output, '/quiet', '/norestart'
echo "C:\Program Files\CMake\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Configure CMake
# sqlite3 handled by CMake
run: cmake -S . -B build -G "Ninja"

- name: Build
run: cmake --build build

- name: Test
run: ./bin/testing
run: ./bin/testing

0 comments on commit 16c6ad6

Please sign in to comment.