Skip to content

Commit

Permalink
fixes issue ChicoState#2 -Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acsanden authored Oct 3, 2023
1 parent 2d3918d commit 961b71c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build C++

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@v1
- name: Build project
run: g++ c.cpp -std=c++17 -o ColorHex

0 comments on commit 961b71c

Please sign in to comment.