mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-26 16:19:30 +03:00
WIP: Build on PR to main with Github Actions
This commit is contained in:
parent
cb0f10c8a4
commit
19d7f742e5
1 changed files with 24 additions and 0 deletions
24
.github/workflows/build.yaml
vendored
Normal file
24
.github/workflows/build.yaml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Build
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04, macos-latest, windows-latest]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Forge
|
||||
run: |
|
||||
OS=$(echo ${RUNNER_OS} |tr '[:upper:]' '[:lower:]')
|
||||
curl -L https://github.com/cwbaker/forge/releases/download/v0.6.18/forge-${OS}-v0.6.18.tar.gz >forge.tar.gz
|
||||
tar -xvf forge.tar.gz
|
||||
shell: bash
|
||||
- name: Build
|
||||
run: |
|
||||
forge/bin/forge variant=release
|
||||
shell: bash
|
||||
Loading…
Add table
Add a link
Reference in a new issue