mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
35
.github/workflows/pr.yml
vendored
Normal file
35
.github/workflows/pr.yml
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
name: PR
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: ${{ matrix.config.name }}
|
||||
runs-on: ${{ matrix.config.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- name: Ubuntu Latest (GCC)
|
||||
os: ubuntu-latest
|
||||
build_type: Release
|
||||
cc: "gcc"
|
||||
cxx: "g++"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Prepare
|
||||
run: mkdir build
|
||||
|
||||
- name: Configure
|
||||
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
||||
|
||||
- name: Build
|
||||
run: cd build && make install
|
||||
|
||||
- name: Test
|
||||
run: cd build && ./dist/bin/WhoaTest
|
||||
38
.github/workflows/push.yml
vendored
Normal file
38
.github/workflows/push.yml
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
name: Push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: ${{ matrix.config.name }}
|
||||
runs-on: ${{ matrix.config.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- name: Ubuntu Latest (GCC)
|
||||
os: ubuntu-latest
|
||||
build_type: Release
|
||||
cc: "gcc"
|
||||
cxx: "g++"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Prepare
|
||||
run: mkdir build
|
||||
|
||||
- name: Configure
|
||||
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
||||
|
||||
- name: Build
|
||||
run: cd build && make install
|
||||
|
||||
- name: Test
|
||||
run: cd build && ./dist/bin/WhoaTest
|
||||
Loading…
Add table
Add a link
Reference in a new issue