Readme changes, github actions ci, test (#1)

* Readme changes, github actions ci, test

* Std flag change for older GCC versions"

* Install gcc multilib

* test fix and formatting

* Don't segfault on nonexistant file and show error instead

* Update ci.yml

* PR comments

* remove silly bit
This commit is contained in:
Ethan Roseman
2022-06-30 15:23:00 -04:00
committed by GitHub
parent f11759cc71
commit d92f0d1d08
6 changed files with 48 additions and 6 deletions

23
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: CI
on: [push, pull_request]
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install GCC multilib
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib
- name: Build
run: make -j
- name: Test
run: |
wget https://cdn.discordapp.com/attachments/727918646525165659/917185027656286218/GC_WII_COMPILERS.zip
unzip GC_WII_COMPILERS.zip
MWCIncludes=. ./wibo GC/2.7/mwcceppc.exe -c test/test.c
file test.o