Skip to content

build2-community/setup-build2-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup-build2-github-action

License build2

This action provides setup routines to use build2 with GitHub Workflows. Currently Linux, MacOS and Windows based runners are supported.

Usage

After using setup-build2-github-action all build2 related command line tools - like b or bdep - are available within your runner.

steps:
- uses: actions/checkout@v2
- uses: build2/setup-build2-github-action@v2
- run: bdep init -C @gcc cc config.cxx=g++
- run: b
- run: b test

The action also provides parameters to customize the build2 toolset for your runner:

  • build2-version: Version of build2 which should be installed. Default is latest. Can also be staged or a specific version like 0.14.0.
  • build2-windows-compiler: Used in Windows runners only. Defines the compiler which is used to build build2. Default is msvc. Can also be mingw or clang.
- uses: build2/setup-build2-github-action@v2
  with:
    build2-version: staged
    build2-windows-compiler: mingw

About

Set up your GitHub Actions workflow with a specific version of build2.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors