Add feature for files #88
Workflow file for this run
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: Build Project | |
on: | |
- push | |
- pull_request | |
jobs: | |
windows: | |
name: Windows Server 2019 | |
runs-on: windows-2019 | |
steps: | |
- name: GitHub repository checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure and Build sources | |
run: | | |
mkdir build && cd build | |
cmake .. -DTESTING_EXIT_CODE=0 | |
cmake --build . --config Release | |
- name: Run Virtual machine | |
run: .\build\Release\ruc-vm.exe | |
ubuntu: | |
name: Ubuntu 20.04 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: GitHub repository checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure and Build sources | |
run: | | |
mkdir -p build && cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING_EXIT_CODE=0 | |
cmake --build . --config Release | |
- name: Run Virtual machine | |
run: ./build/ruc-vm | |
macos: | |
name: macOS Big Sur 11 | |
runs-on: macos-11 | |
steps: | |
- name: GitHub repository checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure and Build sources | |
run: | | |
mkdir -p build && cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING_EXIT_CODE=0 | |
cmake --build . --config Release | |
- name: Run Virtual machine | |
run: ./build/ruc-vm |