Skip to content

Commit

Permalink
Added workflow for github actions, first half of Issue ChicoState#2
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgomes5 committed Sep 25, 2024
1 parent f981b99 commit 6dafc3f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: in_class

on:
push:
branches: [ main ]

pull_request:
branches: [ main ]

jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y -f build-essential g++ cmake
build:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build project
run: g++ main.cpp -std=c++17 -o MyFave

0 comments on commit 6dafc3f

Please sign in to comment.