Skip to content

Commit

Permalink
Add CI using G++ (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panquesito7 authored Aug 2, 2023
1 parent 591455a commit b4e11ea
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Compile code
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
if: matrix.os == 'windows-latest'
run: |
choco install mingw
- name: Build
run: |
g++ -o multiplication_tables ./src/multiplication_tables.cpp
echo 2 | ./multiplication_tables
4 changes: 1 addition & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ github:
vscode:
extensions:
# - ms-vscode.cpptools
- twxs.cmake
- ms-vscode.cmake-tools
- notskm.clang-tidy
- DavidAnson.vscode-markdownlint@0.36.1:qV04OEElMWIf9PHKK19GYA==
- DavidAnson.vscode-markdownlint@0.36.1

0 comments on commit b4e11ea

Please sign in to comment.