This repository has been archived by the owner on Dec 23, 2024. It is now read-only.
Merge branch 'main' of github.com:MGTheTrain/cpp-sample-bindings #17
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: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_test_ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install third-party apt dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
build-essential \ | |
cmake portaudio19-dev nasm | |
- name: Install vcpkg | |
run: | | |
git clone https://github.com/Microsoft/vcpkg.git | |
./vcpkg/bootstrap-vcpkg.sh | |
working-directory: /tmp/ | |
- name: Build and Test on Linux | |
run: | | |
./compile_source_code.sh -CMakeToolchainFile /tmp/vcpkg/scripts/buildsystems/vcpkg.cmake -RunTests | |
working-directory: ./devops/scripts/bash/ | |
create_git_tags_from_version_file_job: | |
runs-on: ubuntu-latest | |
needs: [build_and_test_ubuntu] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: Create git tag from version file | |
uses: MGTheTrain/public-github-actions/.github/actions/create-git-tag-from-version-file@main | |
with: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |