Update windows-build.yml #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Build | |
on: | |
push: | |
branches: | |
- experimental | |
pull_request: | |
branches: | |
- experimental | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Cache Qt | |
uses: actions/cache@v4 | |
with: | |
path: '${{ runner.temp }}/qt' | |
key: ${{ runner.os }}-qt-${{ hashFiles('**/CMakeLists.txt') }} | |
restore-keys: | | |
${{ runner.os }}-qt- | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '6.8.3' | |
target: 'desktop' | |
dir: '${{ runner.temp }}/qt' | |
- name: Cache CMake dependencies | |
uses: actions/cache@v4 | |
with: | |
path: build/.cmake | |
key: ${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }} | |
restore-keys: | | |
${{ runner.os }}-cmake- | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y build-essential cmake libcurl4-openssl-dev | |
- name: Build with CMake | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make |