-
Notifications
You must be signed in to change notification settings - Fork 116
35 lines (27 loc) · 1008 Bytes
/
Copy pathmake32.yml
File metadata and controls
35 lines (27 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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:
name: Build 32-bit (PAGING=${{ matrix.demand_paging }}, FLOAT=${{ matrix.support_fp }}, CELL=${{ matrix.cell_size }})
# This uses a Unix Makefile and should run on Linux and Mac
runs-on: ubuntu-latest
strategy:
matrix:
demand_paging: [0, 1]
support_fp: [0, 1]
cell_size: [4, 8]
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 ASAN=1 XCPPFLAGS="-DPF_SUPPORT_FP=${{ matrix.support_fp }} -DPF_DEMAND_PAGING=${{ matrix.demand_paging }} -DPF_CELL_SIZE=${{ matrix.cell_size }} -D_DEFAULT_SOURCE -D_GNU_SOURCE"