Skip to content

Makefile: use g++ for C++ source files and gcc for C source files #14

Makefile: use g++ for C++ source files and gcc for C source files

Makefile: use g++ for C++ source files and gcc for C source files #14

Workflow file for this run

name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update package list for i386
run: sudo dpkg --add-architecture i386 && sudo apt-get -y update
- name: Install packages
run: sudo apt-get -y install build-essential g++-multilib gcc-mingw-w64
- name: make
run: make
- name: cleanup 1
run: git clean -xdf
- name: make win32
run: make OSTYPE=win32
- name: cleanup 2
run: git clean -xdf