Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
bc9ab68c
Unverified
Commit
bc9ab68c
authored
May 17, 2021
by
Dominic Hamon
Committed by
GitHub
May 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 32-bit option to build-and-test workflow
parent
7d0d9061
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
build-and-test.yml
.github/workflows/build-and-test.yml
+8
-3
No files found.
.github/workflows/build-and-test.yml
View file @
bc9ab68c
...
@@ -7,13 +7,11 @@ on:
...
@@ -7,13 +7,11 @@ on:
branches
:
[
master
]
branches
:
[
master
]
jobs
:
jobs
:
# TODO: add 32-bit builds (g++ and clang++) for ubuntu
# (requires g++-multilib and libc6:i386)
# TODO: add coverage build (requires lcov)
# TODO: add coverage build (requires lcov)
# TODO: add clang + libc++ builds for ubuntu
# TODO: add clang + libc++ builds for ubuntu
# TODO: add clang + ubsan/asan/msan + libc++ builds for ubuntu
# TODO: add clang + ubsan/asan/msan + libc++ builds for ubuntu
job
:
job
:
name
:
${{ matrix.os }}.${{ matrix.build_type }}.${{ matrix.compiler }}
name
:
${{ matrix.os }}.${{ matrix.build_type }}.${{ matrix.compiler }}
.${{ matrix.bits }}_bit
runs-on
:
${{ matrix.os }}
runs-on
:
${{ matrix.os }}
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
...
@@ -21,6 +19,7 @@ jobs:
...
@@ -21,6 +19,7 @@ jobs:
os
:
[
ubuntu-latest
,
ubuntu-16.04
,
ubuntu-20.04
,
macos-latest
]
os
:
[
ubuntu-latest
,
ubuntu-16.04
,
ubuntu-20.04
,
macos-latest
]
build_type
:
[
'
Release'
,
'
Debug'
]
build_type
:
[
'
Release'
,
'
Debug'
]
compiler
:
[
g++
,
clang++
]
compiler
:
[
g++
,
clang++
]
bits
:
[
'
32'
,
'
64'
]
include
:
include
:
-
displayTargetName
:
windows-latest-release
-
displayTargetName
:
windows-latest-release
os
:
windows-latest
os
:
windows-latest
...
@@ -31,17 +30,23 @@ jobs:
...
@@ -31,17 +30,23 @@ jobs:
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
name
:
install 32-bit
if
:
${{ matrix.bits }} == "32"
run
:
sudo apt -y install g++-multilib libc6:i386
-
name
:
create build environment
-
name
:
create build environment
run
:
cmake -E make_directory ${{ runner.workspace }}/_build
run
:
cmake -E make_directory ${{ runner.workspace }}/_build
-
name
:
configure cmake
-
name
:
configure cmake
env
:
env
:
CXX
:
${{ matrix.compiler }}
CXX
:
${{ matrix.compiler }}
BUILD_32_BITS
:
${{ matrix.bits }} == "32"
shell
:
bash
shell
:
bash
working-directory
:
${{ runner.workspace }}/_build
working-directory
:
${{ runner.workspace }}/_build
run
:
>
run
:
>
cmake $GITHUB_WORKSPACE
cmake $GITHUB_WORKSPACE
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON
-DBENCHMARK_BUILD_32_BITS=$BUILD_32_BITS
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-
name
:
build
-
name
:
build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment