mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 18:42:28 +00:00
chore(ci): add push workflow
This commit is contained in:
parent
ef3a07abf2
commit
e128bd2554
1 changed files with 39 additions and 0 deletions
39
.github/workflows/push.yml
vendored
Normal file
39
.github/workflows/push.yml
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
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++"
|
||||
|
||||
- name: "macOS Latest (Clang)"
|
||||
os: macos-latest
|
||||
build_type: "Release"
|
||||
cc: "clang"
|
||||
cxx: "clang++"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Prepare
|
||||
run: mkdir build
|
||||
|
||||
- name: Configure
|
||||
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
||||
|
||||
- name: Build
|
||||
run: cd build && make
|
||||
Loading…
Add table
Add a link
Reference in a new issue