Enable automatic build on push to master branch #14
This file contains 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: Windows build check | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clone aquamarine repo | |
run: git clone --branch ${{ github.head_ref }} https://github.com/MaksymT17/aquamarine.git | |
- name: Install packages | |
run: | | |
choco install sqlite --version=3.8.1 | |
choco install libjpeg-turbo | |
shell: bash | |
- name: Build artifacts with Cmake | |
run: | | |
cd aquamarine | |
./build.sh | |
shell: bash | |
- name: Run unit tests | |
run: | | |
cd aquamarine/unit_tests | |
./prepare_build.sh | |
./make_and_run_tests.sh | |
shell: bash |