Created
June 26, 2021 03:57
-
-
Save ryutorion/b0200df5250bc068f50dc168e84c53ea to your computer and use it in GitHub Desktop.
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: GitHub Actions Demo | |
on: [push] | |
jobs: | |
build-on-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: build | |
run: | | |
cmake -S . -B build/linux -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | |
cmake --build build/linux | |
build-on-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: build | |
run: | | |
cmake -S . -B build/windows -G "Visual Studio 16 2019" -Ax64 -Thost=x64 | |
cmake --build build/windows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment