Skip to content

Commit

Permalink
Merge pull request #6 from ethanuppal/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
ethanuppal authored May 18, 2024
2 parents fafcbe5 + bfc9807 commit 326cde6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: C/C++ CI
name: CI

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

jobs:
build:

runs-on: [ ubuntu-latest, macos13 ]

build_and_test:
strategy:
matrix:
os: [macos-13, macos-12, macos-14, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Build
run: make
- name: Test
run: make test
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: make
- name: Test
run: make test
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ SRCDIR := ./src
INCLUDEDIR := ./src
TESTSDIR := ./tests

CC := $(shell which g++-13 || \
which g++ || which clang)
CC := $(shell which g++ || which clang)
CFLAGS := -std=c++17 -pedantic -Wall -Wextra -I $(INCLUDEDIR)
CDEBUG := -g
CRELEASE := -O2 -DRELEASE_BUILD
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# bwmodel: A modeling environment for Minecraft Bedwars

[![CodeFactor](https://www.codefactor.io/repository/github/ethanuppal/bwmodel/badge)](https://www.codefactor.io/repository/github/ethanuppal/bwmodel)
![CI Badge](https://github.com/ethanuppal/bwmodel/actions/workflows/ci.yaml/badge.svg)


This project is an API for creating predictive models for Minecraft Bedwars—as well as an implementation of such models—using only information that would be available to a player.
The idea is that a computer can process much more than a human brain can.
Expand Down

0 comments on commit 326cde6

Please sign in to comment.