Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByAidan committed Nov 7, 2023
1 parent 42ab99e commit a7768a6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 50 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CMake

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake -B ${{github.workspace}}/builds/${{ runner.os }} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/builds/${{ runner.os }} --config ${{env.BUILD_TYPE}}

- name: Commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "CodeByAidan"
git pull
git add .
git commit -m "Add build outputs" || exit 0
git push
50 changes: 0 additions & 50 deletions .github/workflows/macos.yml

This file was deleted.

0 comments on commit a7768a6

Please sign in to comment.