workflow: make clean before building to make sure leftover objects fr… #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 clean && make clean OSTYPE=win32 && make | |
- name: make win32 | |
run: make clean && make clean OSTYPE=win32 && make OSTYPE=win32 |