Skip to content

Commit

Permalink
Add Makefile target for CI (#143)
Browse files Browse the repository at this point in the history
Add build and test for 32-bit binaries
  • Loading branch information
philburk authored Jan 8, 2023
1 parent adf2261 commit 41d1588
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Make

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

env:
# Customize the Make build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
# This uses a Unix Makefile and should run on Linux and Mac
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Build and Test
working-directory: ${{github.workspace}}/platforms/unix
run: make test
27 changes: 27 additions & 0 deletions .github/workflows/make32.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Make32

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

env:
# Customize the Make build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
# This uses a Unix Makefile and should run on Linux and Mac
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install MultiLib to support 32-bit builds
run: sudo apt-get install gcc-multilib

- name: Build and Test
working-directory: ${{github.workspace}}/platforms/unix
run: make test WIDTHOPT=-m32

0 comments on commit 41d1588

Please sign in to comment.